mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: Add specification-multihash.
* gnu/packages/specifications.scm (specification-multihash): New variable. Change-Id: I065898164cc126445a92b33dd628ab06e19d0615 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
6e7b2b3387
commit
e74b591091
1 changed files with 28 additions and 0 deletions
|
@ -51,3 +51,31 @@ (define-public specification-multibase
|
||||||
base-encoded (e.g., @code{base32}, @code{base36}, @code{base64}, @code{base58}, etc.)
|
base-encoded (e.g., @code{base32}, @code{base36}, @code{base64}, @code{base58}, etc.)
|
||||||
binary appearing in text.")
|
binary appearing in text.")
|
||||||
(license (list license:expat license:cc-by-sa3.0)))))
|
(license (list license:expat license:cc-by-sa3.0)))))
|
||||||
|
|
||||||
|
(define-public specification-multihash
|
||||||
|
(let ((commit "931febb97565395b1b6cd39ac677799df265a9e7")
|
||||||
|
(revision "0"))
|
||||||
|
(package
|
||||||
|
(name "specification-multihash")
|
||||||
|
(version (git-version "0.0.0" revision commit))
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/multiformats/multihash")
|
||||||
|
(commit commit)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "1axr35z3iz061fng0170bh873vy20rj2mspznycxm1qkrkrh7p5j"))))
|
||||||
|
(build-system copy-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:install-plan '(("." "share/multihash/"))
|
||||||
|
#:phases (modify-phases %standard-phases
|
||||||
|
(delete 'strip))))
|
||||||
|
(home-page "https://github.com/multiformats/multihash")
|
||||||
|
(synopsis "Self-describing hashes")
|
||||||
|
(description
|
||||||
|
"Multihash is a protocol for differentiating outputs from various
|
||||||
|
well-established cryptographic hash functions, addressing size + encoding
|
||||||
|
considerations.")
|
||||||
|
(license (list license:expat license:cc-by-sa3.0)))))
|
||||||
|
|
Loading…
Reference in a new issue