aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/password-utils.scm34
1 files changed, 25 insertions, 9 deletions
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index d3d0e23f4f..d1dade32a0 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -60,6 +60,7 @@
#:use-module (gnu packages glib)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages gnuzilla)
+ #:use-module (gnu packages golang)
#:use-module (gnu packages gtk)
#:use-module (gnu packages guile)
#:use-module (gnu packages kerberos)
@@ -268,7 +269,7 @@ applications, there is xclip integration." )
(define-public sops
(package
(name "sops")
- (version "3.0.2")
+ (version "3.2.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -277,18 +278,33 @@ applications, there is xclip integration." )
(file-name (git-file-name name version))
(sha256
(base32
- "0zszlb35cmw9j9dg1bpcbwxwh094wcfxhas4ns58jp5n79rqwv9i"))))
+ "0lzwql3f4n70gmw1d0vnsg7hd0ma6ys0a4x54g3jk10nrn2f7wxl"))
+ (modules '((guix build utils)))
+ (snippet '(begin
+ (delete-file-recursively "vendor")
+ #t))))
(build-system go-build-system)
(arguments
- '(#:import-path "go.mozilla.org/sops/cmd/sops"
- #:unpack-path "go.mozilla.org/sops"
+ `(#:import-path "go.mozilla.org/sops/cmd/sops"
+ #:unpack-path "go.mozilla.org"
#:phases
(modify-phases %standard-phases
- (delete 'reset-gzip-timestamps))))
- (synopsis "")
- (description "")
- (home-page "https://github.com/oschwald/geoip2-golang")
- (license "")))
+ (add-after 'unpack 'fix-directory-name
+ (lambda _
+ (with-directory-excursion "src/go.mozilla.org"
+ (rename-file ,(git-file-name name version)
+ "sops"))
+ #t))
+ ;;(delete 'reset-gzip-timestamps)
+ )))
+ (native-inputs
+ `(("go-github.com-azure-azure-sdk-for-go",
+ go-github.com-azure-azure-sdk-for-go)))
+ (synopsis "Edit encrypted files in multiple formats")
+ (description
+ "")
+ (home-page "https://github.com/mozilla/sops")
+ (license license:mpl2.0)))
(define-public yapet
(package