summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorWilko Meyer <w@wmeyer.eu>2024-01-08 02:52:26 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:51 +0200
commit6fb3af45f442d4a92408319785d6c32caeee1169 (patch)
tree06dd3ed97c057c8e1b6754b1209106ea9cabba28 /gnu/packages
parente3bd683f86a75fdbcea056e85fac34e7f38fb4a9 (diff)
downloadguix-6fb3af45f442d4a92408319785d6c32caeee1169.tar.gz
gnu: Add rust-ecdsa-0.14.
* gnu/packages/crates-io.scm (rust-ecdsa-0.14): New variable.

Change-Id: I5b778692c43b3690619e1e20d69e5df255516520
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6417fdc2ca..252728ef72 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22403,6 +22403,28 @@ Signature Standard), providing RFC6979 deterministic signatures as well as
 support for added entropy.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-ecdsa-0.14
+  (package
+    (inherit rust-ecdsa-0.16)
+    (name "rust-ecdsa")
+    (version "0.14.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ecdsa" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0p1wxap2s6jm06y2w3cal8dkz6p9223ir9wws70rgx8h929h2cs1"))))
+    (arguments
+     `(#:cargo-inputs (("rust-der" ,rust-der-0.6)
+                       ("rust-elliptic-curve" ,rust-elliptic-curve-0.12)
+                       ("rust-rfc6979" ,rust-rfc6979-0.3)
+                       ("rust-serdect" ,rust-serdect-0.1)
+                       ("rust-signature" ,rust-signature-1))
+       #:cargo-development-inputs (("rust-elliptic-curve" ,rust-elliptic-curve-0.12)
+                                   ("rust-hex-literal" ,rust-hex-literal-0.3)
+                                   ("rust-sha2" ,rust-sha2-0.10))))))
+
 (define-public rust-ecies-ed25519-0.5
   (package
     (name "rust-ecies-ed25519")