diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-06-28 14:26:51 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-06-28 14:59:28 +0300 |
commit | a662e4ce5ecb3eb28b117da5e227ac0c36c906f4 (patch) | |
tree | f859d1842a5ed2a9759ed78f8cdd0f31333ca437 /gnu | |
parent | 3bb18715a9925b37d1b2cbcf2369bff406465c9b (diff) |
gnu: Add rust-block-buffer-0.9.
* gnu/packages/crates-io.scm (rust-block-buffer-0.9): New variable.
(rust-block-buffer-0.7): Inherit from rust-block-buffer-0.9.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cfc87f9523..7d95f64e0a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1829,8 +1829,33 @@ BLAKE2bp hash functions.") extension of blocks.") (license license:expat))) +(define-public rust-block-buffer-0.9 + (package + (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")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-block-padding" ,rust-block-padding-0.2) + ("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.7 (package + (inherit rust-block-buffer-0.9) (name "rust-block-buffer") (version "0.7.3") (source @@ -1842,19 +1867,13 @@ extension of blocks.") (sha256 (base32 "12v8wizynqin0hqf140kmp9s38q223mp1b0hkqk8j5pk8720v560")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-block-padding" ,rust-block-padding-0.1) ("rust-byte-tools" ,rust-byte-tools-0.3) ("rust-byteorder" ,rust-byteorder-1.3) - ("rust-generic-array" ,rust-generic-array-0.12)))) - (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:asl2.0 license:expat)))) + ("rust-generic-array" ,rust-generic-array-0.12)))))) (define-public rust-block-padding-0.2 (package |