summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2018-10-24 11:48:27 +0200
committerPierre Neidhardt <mail@ambrevar.xyz>2018-10-24 12:13:49 +0200
commit2e42e587b43106980dbd8a6bfee2fd644c1a7f53 (patch)
tree74a78c2f4f2751aaef5005281e754885e5ee19a5
parent9a7f1575713be1050eedc611047b9603fdbd1bf6 (diff)
gnu: Add go-github-com-multiformats-go-multihash.
* gnu/packages/golang.scm (go-github-com-multiformats-go-multihash): New variable.
-rw-r--r--gnu/packages/golang.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d8126d89169..ab780386496 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2875,3 +2875,34 @@ MurmurHash revision (aka MurmurHash3).
2875Reference algorithm has been slightly hacked as to support the streaming mode 2875Reference algorithm has been slightly hacked as to support the streaming mode
2876required by Go's standard Hash interface.") 2876required by Go's standard Hash interface.")
2877 (license license:bsd-3)))) 2877 (license license:bsd-3))))
2878
2879(define-public go-github-com-multiformats-go-multihash
2880 (let ((commit "97cdb562a04c6ef66d8ed40cd62f8fbcddd396d6")
2881 (revision "0"))
2882 (package
2883 (name "go-github-com-multiformats-go-multihash")
2884 (version (git-version "1.0.8" revision commit))
2885 (source
2886 (origin
2887 (method git-fetch)
2888 (uri (git-reference
2889 (url "https://github.com/multiformats/go-multihash.git")
2890 (commit commit)))
2891 (file-name (git-file-name name version))
2892 (sha256
2893 (base32
2894 "02wd9akrwy4y5m0nig9m24p14bjjgb4n1djydrq8cm4yhbvjrrk0"))))
2895 (build-system go-build-system)
2896 (arguments
2897 '(#:import-path "github.com/multiformats/go-multihash"))
2898 (native-inputs
2899 `(("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
2900 ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
2901 ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
2902 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
2903 ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
2904 ("go-golang-org-x-crypto-union" ,(go-golang-org-x-crypto-union))))
2905 (home-page "https://github.com/multiformats/go-multihash")
2906 (synopsis "Multihash implementation in Go")
2907 (description "Multihash implementation in Go.")
2908 (license license:expat))))