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

* gnu/packages/golang-crypto.scm (go-github-com-protonmail-go-crypto):
Update to 1.0.0.  Adjust package style.
[inputs]: Add go-github-com-cloudflare-circl.

Change-Id: I775c32f7da0e1983c085ddaf24f7767909bdaebc
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Jean SIMARD 2024-07-27 13:07:52 +00:00 committed by Sharlatan Hellseher
parent 5cb835a839
commit f7f125ba5f
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1202,32 +1202,35 @@ (define-public go-github-com-pion-randutil
(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 "0.0.0-20220623141421-5afb4c282135") (version "1.0.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/ProtonMail/go-crypto") (url "https://github.com/ProtonMail/go-crypto")
(commit (go-version->git-ref version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "05qxdbn8wdk901z5kw2r3jdrag58nxlcsy0p8xd6rq0d71sw94wy")))) (base32 "11q94983r6zjrdvflpikms4773a9s5vb9gg4qw1rj5800yhhah0n"))))
(build-system go-build-system) (build-system go-build-system)
(arguments (arguments
(list #:import-path "github.com/ProtonMail/go-crypto" (list
#:tests? #f ; Source-only package. #:import-path "github.com/ProtonMail/go-crypto"
#:phases #:tests? #f ; Source-only package.
#~(modify-phases %standard-phases #:phases
;; Source-only package. #~(modify-phases %standard-phases
(delete 'build)))) ;; Source-only package.
(delete 'build))))
(propagated-inputs (propagated-inputs
(list go-golang-org-x-crypto)) (list go-github-com-cloudflare-circl
go-golang-org-x-crypto))
(home-page "https://github.com/ProtonMail/go-crypto") (home-page "https://github.com/ProtonMail/go-crypto")
(synopsis "Fork of x/crypto with up-to-date OpenPGP implementation") (synopsis "Fork of x/crypto with up-to-date OpenPGP implementation")
(description "This package provides cryptography for Go. This version of (description
the package is a fork that adds a more up-to-date OpenPGP implementation. It "This package provides cryptography for Go. This version of the package
is completely backwards compatible with @code{golang.org/x/crypto}, the is a fork that adds a more up-to-date OpenPGP implementation. It is
official package.") completely backwards compatible with @code{golang.org/x/crypto}, the official
package.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public go-github-com-quic-go-qtls-go1-20 (define-public go-github-com-quic-go-qtls-go1-20