gnu: Add go-golang-org-x-crypto-sha3.

* gnu/packages/golang.scm (go-golang-org-x-crypto-sha3): New variable.
This commit is contained in:
Pierre Neidhardt 2018-10-24 11:00:00 +02:00
parent 6fa257cca7
commit 19789c8b91
No known key found for this signature in database
GPG Key ID: 9BDCF497A4BBCC7F
1 changed files with 13 additions and 0 deletions

View File

@ -1026,6 +1026,19 @@ hash algorithm.")))
(description "This package provides a Go implementation of the BLAKE2s (description "This package provides a Go implementation of the BLAKE2s
hash algorithm."))) hash algorithm.")))
(define-public go-golang-org-x-crypto-sha3
(package
(inherit go-golang-org-x-crypto-bcrypt)
(name "go-golang-org-x-crypto-sha3")
(arguments
(substitute-keyword-arguments (package-arguments go-golang-org-x-crypto-bcrypt)
((#:import-path _)
"golang.org/x/crypto/sha3")))
(synopsis "SHA-3 in Go")
(description "This package provides a Go implementation of the SHA-3
fixed-output-length hash functions and the SHAKE variable-output-length hash
functions defined by FIPS-202.")))
;; Go searches for library modules by looking in the GOPATH environment ;; Go searches for library modules by looking in the GOPATH environment
;; variable. This variable is a list of paths. However, Go does not ;; variable. This variable is a list of paths. However, Go does not
;; keep searching on GOPATH if it tries and fails to import a module. ;; keep searching on GOPATH if it tries and fails to import a module.