diff options
author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2024-04-07 13:01:42 +0300 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-04-12 16:58:42 +0100 |
commit | e74b59109176966a012ad7e1586ad4c829454ecc (patch) | |
tree | 31a5de2a153d5da7e60ea3f105dab33ffe8811d8 /gnu/packages/specifications.scm | |
parent | 6e7b2b33875eef7ad825cf0a480acecf92a046e4 (diff) | |
download | guix-e74b59109176966a012ad7e1586ad4c829454ecc.tar.gz guix-e74b59109176966a012ad7e1586ad4c829454ecc.zip |
gnu: Add specification-multihash.
* gnu/packages/specifications.scm (specification-multihash): New variable.
Change-Id: I065898164cc126445a92b33dd628ab06e19d0615
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/specifications.scm')
-rw-r--r-- | gnu/packages/specifications.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/specifications.scm b/gnu/packages/specifications.scm index ce57a68bdb..b44f0eaaee 100644 --- a/gnu/packages/specifications.scm +++ b/gnu/packages/specifications.scm @@ -51,3 +51,31 @@ base-encoded (e.g., @code{base32}, @code{base36}, @code{base64}, @code{base58}, etc.) binary appearing in text.") (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))))) |