From: "Collin J. Doering" <collin@rekahsoft.ca>
To: 51989@debbugs.gnu.org
Subject: [bug#51989] [PATCH 12/12] gnu: Add aws-vault
Date: Fri, 19 Nov 2021 18:32:09 -0500 [thread overview]
Message-ID: <875ysn3enh.fsf@rekahsoft.ca> (raw)
In-Reply-To: <87lf1j4u2n.fsf@rekahsoft.ca>
---
gnu/packages/golang.scm | 73 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 73 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6060da744d..2e8e1ff61c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8842,6 +8842,79 @@ (define-public go-gopkg-in-djherbis-times-v1
(description
"Provides a platform-independent way to get atime, mtime, ctime and btime for files.")
(license license:expat)))
+
+(define-public aws-vault
+ (package
+ (name "aws-vault")
+ (version "6.3.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/99designs/aws-vault")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "02zw0kl77yr56mw1fbvr51c4mz2265c9al2nzvnqqzdx5aha7nf8"))))
+ (build-system go-build-system)
+ (native-inputs
+ `(("go-keyring" ,go-keyring)
+ ("go-github-com-androiddnsfix" ,go-github-com-androiddnsfix)
+ ("go-github-com-percent" ,go-github-com-percent)
+ ("go-github-com-jmespath-go-jmespath" ,go-github-com-jmespath-go-jmespath)
+ ("go-github-com-aws-aws-sdk-go" ,go-github-com-aws-aws-sdk-go)
+ ("go-github-com-dvsekhvalnov-jose2go" ,go-github-com-dvsekhvalnov-jose2go)
+ ("go-github-com-godbus-dbus" ,go-github-com-godbus-dbus)
+ ("go-github-com-go-libsecret" ,go-github-com-go-libsecret)
+ ("go-github-com-mitchellh-go-homedir" ,go-github-com-mitchellh-go-homedir)
+ ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
+ ("go-golang-org-x-sys" ,go-golang-org-x-sys)
+ ("go-gopkg-in-ini" ,go-gopkg-in-ini)
+ ("go-github-com-skratchdot-open-golang" ,go-github-com-skratchdot-open-golang)
+ ("go-github-com-kingpin" ,go-github-com-kingpin)
+ ("go-github-com-alecthomas-template" ,go-github-com-alecthomas-template)
+ ("go-github-com-alecthomas-units" ,go-github-com-alecthomas-units)))
+ (arguments
+ `(#:import-path "github.com/99designs/aws-vault"
+ #:install-source? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'patch-version
+ (lambda _
+ (substitute* "src/github.com/99designs/aws-vault/main.go"
+ (("var Version = \"dev\"")
+ (string-append "var Version = \"v" ,version "\"")))))
+ (add-after 'build 'contrib
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (zsh-site-dir (string-append out "/share/zsh/site-functions"))
+ (bash-completion-dir
+ (string-append out "/share/bash-completion/completions"))
+ (fish-completion-dir
+ (string-append out "/share/fish/completions")))
+ (for-each mkdir-p
+ `(,zsh-site-dir ,bash-completion-dir ,fish-completion-dir))
+ (with-directory-excursion
+ "src/github.com/99designs/aws-vault/contrib/completions"
+ (copy-file "zsh/aws-vault.zsh"
+ (string-append zsh-site-dir "/_aws-vault"))
+ (copy-file "bash/aws-vault.bash"
+ (string-append bash-completion-dir "/aws-vault"))
+ (copy-file "fish/aws-vault.fish"
+ (string-append fish-completion-dir "/aws-vault.fish")))
+ #t))))))
+ (synopsis
+ "Vault for securely storing and accessing AWS credentials")
+ (description
+ "AWS Vault is a tool to securely store and access AWS credentials.
+
+AWS Vault stores IAM credentials in your operating system's secure keystore and
+then generates temporary credentials from those to expose to your shell and
+applications. It's designed to be complementary to the AWS CLI tools, and is
+aware of your profiles and configuration in ~/.aws/config.")
+ (home-page "https://github.com/99designs/aws-vault")
+ (license license:expat)))
+
(define-public go-keyring
(package
(name "go-keyring")
--
2.33.1
--
Collin J. Doering
http://rekahsoft.ca
http://blog.rekahsoft.ca
http://git.rekahsoft.ca
next prev parent reply other threads:[~2021-11-19 23:33 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-19 23:12 [bug#51989] [PATCH 00/12] Add aws-vault and missing dependent packages Collin J. Doering
2021-11-19 23:15 ` [bug#51989] [PATCH 01/12] gnu: Add go-keyring Collin J. Doering
2021-11-19 23:16 ` [bug#51989] [PATCH 02/12] gnu: Add go-androidnsfix Collin J. Doering
2021-11-19 23:16 ` [bug#51989] [PATCH 03/12] gnu: Add go-percent Collin J. Doering
2021-11-19 23:17 ` [bug#51989] [PATCH 04/12] gnu: Add go-aws-sdk-go Collin J. Doering
2021-11-19 23:18 ` [bug#51989] [PATCH 05/12] gnu: Add go-jose2go Collin J. Doering
2021-11-19 23:19 ` [bug#51989] [PATCH 06/12] gnu: Add go-libsecret Collin J. Doering
2021-11-19 23:20 ` [bug#51989] [PATCH 07/12] gnu: Add go-ini Collin J. Doering
2021-11-19 23:20 ` [bug#51989] [PATCH 08/12] gnu: Add go-open-golang Collin J. Doering
2021-11-19 23:21 ` [bug#51989] [PATCH 09/12] gnu: Add go-alecthomas-template Collin J. Doering
2021-11-19 23:21 ` [bug#51989] [PATCH 10/12] gnu: Add go-alecthomas-units Collin J. Doering
2021-11-19 23:25 ` [bug#51989] [PATCH 11/12] gnu: Add go-kingpin Collin J. Doering
2021-11-19 23:32 ` Collin J. Doering [this message]
2021-12-18 18:56 ` [bug#51989] [PATCH 00/12] Add aws-vault and missing dependent packages Ludovic Courtès
2021-12-18 19:45 ` Leo Famulari
2021-12-27 16:19 ` Collin J. Doering
2021-12-27 19:30 ` Collin J. Doering
2021-12-31 17:24 ` bug#51989: " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875ysn3enh.fsf@rekahsoft.ca \
--to=collin@rekahsoft.ca \
--cc=51989@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).