diff options
| author | Giacomo Leidi <therewasa@fishinthecalculator.me> | 2026-04-04 23:35:43 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-04-10 16:17:55 +0100 |
| commit | 4c9fdc411b5ffdf0198c9d9dc32e780fa809bb8f (patch) | |
| tree | f09bd09edf3e18344078a121cc2881bc6be40234 /gnu | |
| parent | e0e3e89453f445e9f68a02584868a45b2f3e79d6 (diff) | |
gnu: Add go-github-com-getsops-gopgagent.
* gnu/packages/golang-crypto.scm (go-github-com-getsops-gopgagent): New variable.
Change-Id: Ide04304a42ecb160d5e0d4eb95cdc7b7462f4320
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/golang-crypto.scm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm index 38d6a5489d..fa0efab521 100644 --- a/gnu/packages/golang-crypto.scm +++ b/gnu/packages/golang-crypto.scm @@ -1444,6 +1444,43 @@ providing bidirectional mapping values to their names, plus enum convenience for values.") (license license:bsd-3))) +(define-public go-github-com-getsops-gopgagent + (package + (name "go-github-com-getsops-gopgagent") + (version "0.0.0-20241224165529-7044f28e491e") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/getsops/gopgagent") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1n1r7jkb48y06jw2dhkaqs33j6qgwf9fvbisd1zsr6v2k7wgfvf3")) + (modules '((guix build utils))) + (snippet + #~(begin + (for-each + (lambda (f) + ;; XXX: Without this snippet the build fails with + ;; code in directory github.com/getsops/gopgagent + ;; expects import "go.mozilla.org/gopgagent" + (substitute* f + (("import \"go\\.mozilla\\.org/gopgagent\"") ""))) + '("gpgagent.go" "gpgagent_test.go")) + #t)))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/getsops/gopgagent" + #:test-flags #~(list "-vet=off"))) + (home-page "https://github.com/getsops/gopgagent") + (synopsis "GPG Agent helpers for Go") + (description + "This package provides an API to interact with the local GPG Agent from +Golang.") + (license license:asl2.0))) + (define-public go-github-com-gliderlabs-ssh (package (name "go-github-com-gliderlabs-ssh") |
