Subject: [PATCH 039/156] gnu: Add rust-der-parser-7.

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

* gnu/packages/crates-io.scm (rust-der-parser-7): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f422c2a47e2..6c34fc2115c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20263,6 +20263,28 @@ (define-public rust-der-parser-8
 @code{nom} parser combinator framework.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-der-parser-7
+  (package
+    (inherit rust-der-parser-8)
+    (name "rust-der-parser")
+    (version "7.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "der-parser" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "10kfa2gzl3x20mwgrd43cyi79xgkqxyzcyrh0xylv4apa33qlfgy"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-asn1-rs" ,rust-asn1-rs-0.3)
+                       ("rust-cookie-factory" ,rust-cookie-factory-0.3)
+                       ("rust-displaydoc" ,rust-displaydoc-0.2)
+                       ("rust-nom" ,rust-nom-7)
+                       ("rust-num-bigint" ,rust-num-bigint-0.4)
+                       ("rust-num-traits" ,rust-num-traits-0.2)
+                       ("rust-rusticata-macros" ,rust-rusticata-macros-4))))))
+
 (define-public rust-der-parser-6
   (package
     (inherit rust-der-parser-8)
-- 
2.41.0