summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-05-22 17:56:42 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-08-14 19:38:03 +0300
commiteae6a03a5113b6cc48ebef942603609c3eedbdbb (patch)
treecf62bcc53d717cbc0b33478690a8a7fde5087e8a /gnu/packages
parent9ce53a5b852ff41fc2a108a5e487025869639ef0 (diff)
gnu: Add rust-cmac-0.7.
* gnu/packages/crates-io.scm (rust-cmac-0.7): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4230b80cbb..7e782f3097 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12210,6 +12210,36 @@ contains all syscalls and related types.")
license:asl2.0
license:zlib))))
+(define-public rust-cmac-0.7
+ (package
+ (name "rust-cmac")
+ (version "0.7.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "cmac" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1an1vcala24grlyhvk71ikxk2kmgcbal9kgrzzpjcl9z7i74ahw5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cipher" ,rust-cipher-0.4)
+ ("rust-dbl" ,rust-dbl-0.3)
+ ("rust-digest" ,rust-digest-0.10))
+ #:cargo-development-inputs
+ (("rust-aes" ,rust-aes-0.8)
+ ("rust-des" ,rust-des-0.8)
+ ("rust-digest" ,rust-digest-0.10)
+ ("rust-hex-literal" ,rust-hex-literal-0.3)
+ ("rust-kuznyechik" ,rust-kuznyechik-0.8)
+ ("rust-magma" ,rust-magma-0.8))))
+ (home-page "https://github.com/RustCrypto/MACs")
+ (synopsis "Generic implementation of Cipher-based Message Authentication Code")
+ (description "This package provides a pure Rust implementation of the
+Cipher-based Message Authentication Code.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-cmake-0.1
(package
(name "rust-cmake")