diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-06-28 14:23:37 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-06-28 14:59:28 +0300 |
commit | 526badd606ffcc1a18cfda4c402568988731c670 (patch) | |
tree | 9312985605fdb3cf3cd789b58fec3f7c097626f2 | |
parent | a8253655385f37a597c3ae54fdc95b04887636df (diff) |
gnu: Add rust-crypto-mac-0.8.
* gnu/packages/crates-io.scm (rust-crypto-mac-0.8): New variable.
(rust-crypto-mac-0.7): Inherit from rust-crypto-mac-0.8.
-rw-r--r-- | gnu/packages/crates-io.scm | 34 |
1 files changed, 27 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e7372b7c4a..153742cff9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4417,8 +4417,34 @@ manipulating terminals.") around common WinAPI calls.") (license license:expat))) +(define-public rust-crypto-mac-0.8 + (package + (name "rust-crypto-mac") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "crypto-mac" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1axfs4zmy74rn9666p92j7nmcv11zdp2d51yrppc2dv26cqa715m")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-blobby" ,rust-blobby-0.1) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-subtle" ,rust-subtle-2)))) + (home-page "https://github.com/RustCrypto/traits") + (synopsis "Trait for Message Authentication Code (MAC) algorithms") + (description "This package provides trait for @dfn{Message Authentication +Code} (MAC) algorithms.") + (license (list license:expat license:asl2.0)))) + (define-public rust-crypto-mac-0.7 (package + (inherit rust-crypto-mac-0.8) (name "rust-crypto-mac") (version "0.7.0") (source @@ -4430,17 +4456,11 @@ around common WinAPI calls.") (sha256 (base32 "1rbrq6qy9dl0pj4ym2zy33miaaa8vpzdss60p9bdb58xy46l0d24")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-blobby" ,rust-blobby-0.1) ("rust-generic-array" ,rust-generic-array-0.12) - ("rust-subtle" ,rust-subtle-1.0)))) - (home-page "https://github.com/RustCrypto/traits") - (synopsis "Trait for Message Authentication Code (MAC) algorithms") - (description "This package provides trait for @dfn{Message Authentication -Code} (MAC) algorithms.") - (license (list license:expat license:asl2.0)))) + ("rust-subtle" ,rust-subtle-1.0)))))) (define-public rust-cssparser-0.25 (package |