Subject: [bug#68312] [PATCH 091/156] gnu: Add rust-p384-0.11.

From: Wilko Meyer <[email-masked]>
Date: Mon, 8 Jan 2024 02:53:08 +0100

* gnu/packages/crates-io.scm (rust-p384-0.11): New variable.

Change-Id: I79672826c1edf82105427a8bd158c186b67e1fc8
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aa7893dd3a2..1b595d34425 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -48414,6 +48414,26 @@ (define-public rust-p384-0.13
 signing/verification, and general purpose curve arithmetic support.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-p384-0.11
+  (package
+    (inherit from rust-p384-0.13)
+    (name "rust-p384")
+    (version "0.11.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "p384" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1al021z9j5y7nznqvngf5snglxjsrbcfrh47ksxm5pidcjzwbj6z"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-ecdsa" ,rust-ecdsa-0.14)
+                       ("rust-elliptic-curve" ,rust-elliptic-curve-0.12)
+                       ("rust-hex-literal" ,rust-hex-literal-0.3)
+                       ("rust-serdect" ,rust-serdect-0.1)
+                       ("rust-sha2" ,rust-sha2-0.10))))))
+
 (define-public rust-packed-simd-0.3
   (package
     (name "rust-packed-simd")
-- 
2.41.0