diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2022-01-07 15:06:38 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-19 14:04:42 +0100 |
commit | 6d096fee2af42ff7cc362728f3311046be0a75e9 (patch) | |
tree | 2f28f24970c8e2032f01d87fd53c465782db3bb2 /gnu | |
parent | b5604a827bd64477eb0b3cbbd213d313730e39e5 (diff) | |
download | guix-6d096fee2af42ff7cc362728f3311046be0a75e9.tar.gz guix-6d096fee2af42ff7cc362728f3311046be0a75e9.zip |
gnu: Add rust-block-buffer-0.10.
* gnu/packages/crates-io.scm (rust-block-buffer-0.10): New variable.
(rust-block-buffer-0.9): Inherit from above.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ca99ed6bf7..116bdc4c51 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6551,10 +6551,10 @@ storage.") extension of blocks.") (license license:expat))) -(define-public rust-block-buffer-0.9 +(define-public rust-block-buffer-0.10 (package (name "rust-block-buffer") - (version "0.9.0") + (version "0.10.0") (source (origin (method url-fetch) @@ -6563,18 +6563,37 @@ extension of blocks.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1r4pf90s7d7lj1wdjhlnqa26vvbm6pnc33z138lxpnp9srpi2lj1")))) + "15cbh9jbcfcbbi863dlmamjka2f8l55ld915vr0b0xlf0l16mlzi")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-block-padding" ,rust-block-padding-0.2) - ("rust-generic-array" ,rust-generic-array-0.14)))) + `(#:skip-build? #t + #:cargo-inputs + (("rust-generic-array" ,rust-generic-array-0.14)))) (home-page "https://github.com/RustCrypto/utils") (synopsis "Fixed size buffer for block processing of data") (description "Fixed size buffer for block processing of data.") (license (list license:expat license:asl2.0)))) +(define-public rust-block-buffer-0.9 + (package + (inherit rust-block-buffer-0.10) + (name "rust-block-buffer") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "block-buffer" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1r4pf90s7d7lj1wdjhlnqa26vvbm6pnc33z138lxpnp9srpi2lj1")))) + (arguments + `(#:cargo-inputs + (("rust-block-padding" ,rust-block-padding-0.2) + ("rust-generic-array" ,rust-generic-array-0.14)))))) + (define-public rust-block-buffer-0.8 (package (inherit rust-block-buffer-0.9) |