gnu: Add go-github-com-libp2p-go-libp2p-crypto.

* gnu/packages/golang.scm (go-github-com-libp2p-go-libp2p-crypto): New variable.
This commit is contained in:
Pierre Neidhardt 2018-10-24 11:38:54 +02:00
parent ff2d11c3ce
commit 71f3680499
No known key found for this signature in database
GPG key ID: 9BDCF497A4BBCC7F

View file

@ -2732,3 +2732,33 @@ (define-public go-github-com-minio-sha256-simd
implementations are described in \"Fast SHA-256 Implementations on Intel
Architecture Processors\" by J. Guilford et al.")
(license license:asl2.0))))
(define-public go-github-com-libp2p-go-libp2p-crypto
(let ((commit "7240b40a3ddc47c4d17c15baabcbe45e5219171b")
(revision "0"))
(package
(name "go-github-com-libp2p-go-libp2p-crypto")
(version (git-version "2.0.1" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/libp2p/go-libp2p-crypto.git")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"0qwpy57qv5143l9dlfwfvpqsxdd2i4zwnawx1w4pmgxxim3nw1wb"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/libp2p/go-libp2p-crypto"))
(native-inputs
`(("go-golang-org-x-crypto-ed25519" ,go-golang-org-x-crypto-ed25519)
("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
("go-github-com-gogo-protobuf-proto" ,go-github-com-gogo-protobuf-proto)
("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)))
(home-page
"https://github.com/libp2p/go-libp2p-crypto")
(synopsis "Various cryptographic utilities used by IPFS")
(description "Various cryptographic utilities used by IPFS")
(license license:expat))))