diff options
author | Arun Isaac <arunisaac@systemreboot.net> | 2020-09-17 12:26:36 +0530 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2020-10-12 11:41:49 +0530 |
commit | 6a849f27509a1985dc364d6afb1084808eba5ed3 (patch) | |
tree | e0a12b83a518dc84279da61fc7d5711df2cf2a79 /gnu/packages | |
parent | 284c427ca689cc0d605a86c3bdcb20944462a410 (diff) | |
download | guix-6a849f27509a1985dc364d6afb1084808eba5ed3.tar.gz guix-6a849f27509a1985dc364d6afb1084808eba5ed3.zip |
gnu: Add rust-crypto-mac-0.4.
* gnu/packages/crates-io.scm (rust-crypto-mac-0.4): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f827d4d28a..f40f9e33c6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4916,10 +4916,30 @@ Code} (MAC) algorithms.") ("rust-generic-array" ,rust-generic-array-0.12) ("rust-subtle" ,rust-subtle-1.0)))))) -(define-public rust-cssparser-0.27 +(define-public rust-crypto-mac-0.4 (package - (name "rust-cssparser") - (version "0.27.2") + (name "rust-crypto-mac") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "crypto-mac" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "160ixpghhz5kz16f38kzcyv6lx8wmi4cgbhlhq4nazf678iib43p")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-constant-time-eq" ,rust-constant-time-eq-0.1) + ("rust-generic-array" ,rust-generic-array-0.8)))) + (home-page "https://github.com/RustCrypto/traits") + (synopsis "Trait for Message Authentication Code (MAC) algorithms") + (description "This package provides traits for Message Authentication +Code (MAC) algorithms.") + (license (list license:expat license:asl2.0)))) + (source (origin (method url-fetch) @@ -4932,6 +4952,9 @@ Code} (MAC) algorithms.") (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included in the tarball. +(define-public rust-cssparser-0.27 + (name "rust-cssparser") + (version "0.27.2") #:cargo-inputs (("rust-cssparser-macros" ,rust-cssparser-macros-0.6) ("rust-dtoa-short" ,rust-dtoa-short-0.3) |