guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#53401] [PATCH 05/49] gnu: Add rust-crypto-common-0.1.


From: Attila Lendvai
Subject: [bug#53401] [PATCH 05/49] gnu: Add rust-crypto-common-0.1.
Date: Thu, 20 Jan 2022 22:50:01 +0100

* gnu/packages/crates-io.scm (rust-crypto-common-0.1): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dbe218ddb3..4e4782b262 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13025,6 +13025,30 @@ (define-public rust-rusticata-macros-3
     (description "Helper macros for Rusticata")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-crypto-common-0.1
+  (package
+    (name "rust-crypto-common")
+    (version "0.1.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "crypto-common" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "1l4q4ync13i056vjc775v0za8qh987da7yvrjj25q909cd9nngb8"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-generic-array" ,rust-generic-array-0.14)
+        ("rust-rand-core" ,rust-rand-core-0.6))))
+    (home-page "https://github.com/RustCrypto/traits";)
+    (synopsis "Common cryptographic traits")
+    (description "Common traits used by cryptographic algorithms.
+Users should generally use higher-level trait crates instead of this one.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-crypto-mac-0.11
   (package
     (name "rust-crypto-mac")
-- 
2.34.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]