diff options
author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2024-04-07 13:01:43 +0300 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-04-12 16:58:42 +0100 |
commit | 4d7a2c860eb000fe12c93f62a7467b4e5eec58ff (patch) | |
tree | a2eff1c723ee175c45ee7135176cb5c5374ddb6f /gnu | |
parent | e74b59109176966a012ad7e1586ad4c829454ecc (diff) | |
download | guix-4d7a2c860eb000fe12c93f62a7467b4e5eec58ff.tar.gz guix-4d7a2c860eb000fe12c93f62a7467b4e5eec58ff.zip |
gnu: Add specification-multicodec.
* gnu/packages/specifications.scm (specification-multicodec): New variable.
Change-Id: I75de43613c5a1818b1db79aa275c58dc52411957
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-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 b44f0eaaee..125d794932 100644 --- a/gnu/packages/specifications.scm +++ b/gnu/packages/specifications.scm @@ -52,6 +52,34 @@ base-encoded (e.g., @code{base32}, @code{base36}, @code{base64}, @code{base58}, 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")) |