guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

18/34: gnu: Add go-github-com-multiformats-go-multihash.


From: Pierre Neidhardt
Subject: 18/34: gnu: Add go-github-com-multiformats-go-multihash.
Date: Wed, 24 Oct 2018 06:28:52 -0400 (EDT)

ambrevar pushed a commit to branch master
in repository guix.

commit 2e42e587b43106980dbd8a6bfee2fd644c1a7f53
Author: Pierre Neidhardt <address@hidden>
Date:   Wed Oct 24 11:48:27 2018 +0200

    gnu: Add go-github-com-multiformats-go-multihash.
    
    * gnu/packages/golang.scm (go-github-com-multiformats-go-multihash): New 
variable.
---
 gnu/packages/golang.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d8126d8..ab78038 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2875,3 +2875,34 @@ MurmurHash revision (aka MurmurHash3).
 Reference algorithm has been slightly hacked as to support the streaming mode
 required by Go's standard Hash interface.")
       (license license:bsd-3))))
+
+(define-public go-github-com-multiformats-go-multihash
+  (let ((commit "97cdb562a04c6ef66d8ed40cd62f8fbcddd396d6")
+        (revision "0"))
+    (package
+      (name "go-github-com-multiformats-go-multihash")
+      (version (git-version "1.0.8" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/multiformats/go-multihash.git";)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "02wd9akrwy4y5m0nig9m24p14bjjgb4n1djydrq8cm4yhbvjrrk0"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/multiformats/go-multihash"))
+      (native-inputs
+       `(("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
+         ("go-github-com-gxed-hashland-keccakpg" 
,go-github-com-gxed-hashland-keccakpg)
+         ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
+         ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
+         ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
+         ("go-golang-org-x-crypto-union" ,(go-golang-org-x-crypto-union))))
+      (home-page "https://github.com/multiformats/go-multihash";)
+      (synopsis "Multihash implementation in Go")
+      (description "Multihash implementation in Go.")
+      (license license:expat))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]