summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorWilko Meyer <w@wmeyer.eu>2024-01-08 02:53:27 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:52 +0200
commitd5864637a6cf798c7029cabd0de2af66406c0062 (patch)
treef6d884b0dfbff110b3fbbb2a08c02b88ce25b748 /gnu/packages
parent51f670ed300a93a66099275434fe45c1ab0f53fb (diff)
downloadguix-d5864637a6cf798c7029cabd0de2af66406c0062.tar.gz
gnu: Add rust-sec1-0.3.
* gnu/packages/crates-io.scm (rust-sec1-0.3): New variable.

Change-Id: Ibc35650bbf0ba63dfa2e603d380202554b72858e
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 57dd6087e1..b807e7ecf6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64187,6 +64187,29 @@ Cryptography encoding formats including ASN.1 DER-serialized private keys as
 well as the Elliptic-Curve-Point-to-Octet-String encoding.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-sec1-0.3
+  (package
+    (inherit rust-sec1-0.7)
+    (name "rust-sec1")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sec1" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0a09lk5w3nyggpyz54m10nnlg9v8qbh6kw3v1bgla31988c4rqiv"))))
+    (arguments
+     `(#:cargo-inputs (("rust-base16ct" ,rust-base16ct-0.1)
+                       ("rust-der" ,rust-der-0.6)
+                       ("rust-generic-array" ,rust-generic-array-0.14)
+                       ("rust-pkcs8" ,rust-pkcs8-0.9)
+                       ("rust-serdect" ,rust-serdect-0.1)
+                       ("rust-subtle" ,rust-subtle-2)
+                       ("rust-zeroize" ,rust-zeroize-1))
+       #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3)
+                                   ("rust-tempfile" ,rust-tempfile-3))))))
+
 (define-public rust-seccomp-sys-0.1
   (package
     (name "rust-seccomp-sys")