gnu: Add go-lukechampine-com-blake3.

* gnu/packages/golang.scm (go-lukechampine-com-blake3): New variable.
This commit is contained in:
Arun Isaac 2021-07-09 12:34:41 +05:30
parent edaea8d2ac
commit 42d9c3b24a
No known key found for this signature in database
GPG key ID: 2E25EE8B61802BB3

View file

@ -8273,3 +8273,30 @@ (define-public go-github-com-dustin-go-humanize
friendly sizes. It converts boring ugly numbers to human-friendly strings and friendly sizes. It converts boring ugly numbers to human-friendly strings and
back.") back.")
(license license:expat))) (license license:expat)))
(define-public go-lukechampine-com-blake3
(package
(name "go-lukechampine-com-blake3")
(version "1.1.5")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/lukechampine/blake3")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1yxdwp8dpnnq2wbwsxlkbq570i99sc6781y39czjxi9jh9z5nw55"))))
(build-system go-build-system)
(arguments
'(#:import-path "lukechampine.com/blake3"))
(propagated-inputs
`(("go-github-com-klauspost-cpuid" ,go-github-com-klauspost-cpuid)))
(home-page "https://pkg.go.dev/lukechampine.com/blake3")
(synopsis "Implementation of the BLAKE3 cryptographic hash function")
(description "@code{blake3} implements the BLAKE3 cryptographic hash
function. In addition to the pure-Go implementation, this package also
contains AVX-512 and AVX2 routines (generated by avo) that greatly increase
performance for large inputs and outputs.")
(license license:expat)))