aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/golang-crypto.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-01-16 22:42:35 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-01-28 23:21:03 +0000
commit7c4e22b4ad13a50b6f9dc07ef5a8688999359e1b (patch)
treeea47f03c71fc8eec023bd90d7629e31732fd1431 /gnu/packages/golang-crypto.scm
parent91c79f376aad4edb4accc21b99e420a629ad9616 (diff)
downloadguix-7c4e22b4ad13a50b6f9dc07ef5a8688999359e1b.tar
guix-7c4e22b4ad13a50b6f9dc07ef5a8688999359e1b.tar.gz
gnu: go-github-com-libp2p-go-libp2p-crypto: Move to (gnu packages golang-crypto).
* gnu/packages/golang.scm (go-github-com-libp2p-go-libp2p-crypto): Move from here ... * gnu/packages/golang-crypto.scm: ... to here. Change-Id: I407bec9b36d61475b2a555643f8bc89b623452e9
Diffstat (limited to 'gnu/packages/golang-crypto.scm')
-rw-r--r--gnu/packages/golang-crypto.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index da331ceb3b..2c9605b8cf 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -38,6 +38,35 @@
;;;
;;; Code:
+(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")
+ (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
+ (list go-github-com-btcsuite-btcd-btcec
+ go-github-com-gogo-protobuf
+ go-github-com-minio-sha256-simd
+ go-golang-org-x-crypto))
+ (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))))
+
(define-public go-github-com-multiformats-go-multihash
(let ((commit "97cdb562a04c6ef66d8ed40cd62f8fbcddd396d6")
(revision "0"))