diff options
author | Christopher Baines <[email protected]> | 2024-04-15 10:57:23 +0100 |
---|---|---|
committer | Christopher Baines <[email protected]> | 2024-04-15 10:57:31 +0100 |
commit | 953253eff32197863d223e5fece42b3c2440df01 (patch) | |
tree | eb85f6b719322174f5dc504cac9de9829e1651e2 /gnu/packages/specifications.scm | |
parent | 2718616f77aace28b3962fef29b4e38b87a512ce (diff) | |
parent | 8e3831eb126478cad50588a0f3474667981b11ec (diff) |
Merge remote-tracking branch 'savannah/master' into mesa-updates
Change-Id: I00980ec5dbd9d23ab076995bc79331d136424796
Diffstat (limited to 'gnu/packages/specifications.scm')
-rw-r--r-- | gnu/packages/specifications.scm | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/gnu/packages/specifications.scm b/gnu/packages/specifications.scm index ce57a68bdb..125d794932 100644 --- a/gnu/packages/specifications.scm +++ b/gnu/packages/specifications.scm @@ -51,3 +51,59 @@ 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-multicodec + (let ((commit "36789e0856be22fa02f4dc55582ec670b2b4318b") + (revision "0")) + (package + (name "specification-multicodec") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/multiformats/multicodec") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0dyawicg8q4f8g6xj5bsj5l3c8rb8mrafjkrabc6a3p65845wp2r")))) + (build-system copy-build-system) + (arguments + '(#:install-plan '(("." "share/multicodec/")) + #:phases (modify-phases %standard-phases + (delete 'strip)))) + (home-page "https://github.com/multiformats/multicodec") + (synopsis "Compact self-describing codecs") + (description + "Multicodec is an agreed-upon codec table. It is designed for use in binary +representations, such as keys or identifiers (i.e @url{https://github.com/ipld/cid, +CID}).") + (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))))) |