gnu: go-github-com-protonmail-go-crypto: Update to 1.1.3.

* gnu/packages/golang-crypto.scm (go-github-com-protonmail-go-crypto):
Update to 1.1.3.
[argumetns]<phases>: Use default 'check.

Change-Id: I5350d74f0f763898f9dad62d18e318486ad7e148
This commit is contained in:
Sharlatan Hellseher 2024-12-14 13:50:22 +00:00
parent ce04ce627f
commit 8a1cef29e0
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1442,7 +1442,7 @@ algorithm.")
(define-public go-github-com-protonmail-go-crypto (define-public go-github-com-protonmail-go-crypto
(package (package
(name "go-github-com-protonmail-go-crypto") (name "go-github-com-protonmail-go-crypto")
(version "1.0.0") (version "1.1.3")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -1451,21 +1451,14 @@ algorithm.")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "11q94983r6zjrdvflpikms4773a9s5vb9gg4qw1rj5800yhhah0n")))) (base32 "0kcan2bw548cn6pm282zyddysv400dankcsrdanha7qmxqki34c0"))))
(build-system go-build-system) (build-system go-build-system)
(arguments (arguments
(list (list
#:import-path "github.com/ProtonMail/go-crypto" #:import-path "github.com/ProtonMail/go-crypto"
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
;; XXX: Workaround for go-build-system's lack of Go modules (delete 'build)))) ; no go files in project's root
;; support.
(delete 'build)
(replace 'check
(lambda* (#:key tests? import-path #:allow-other-keys)
(when tests?
(with-directory-excursion (string-append "src/" import-path)
(invoke "go" "test" "-v" "./..."))))))))
(propagated-inputs (propagated-inputs
(list go-github-com-cloudflare-circl (list go-github-com-cloudflare-circl
go-golang-org-x-crypto)) go-golang-org-x-crypto))