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:16 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:51 +0200
commiteda12ac950160c79562557466924bf3574bca748 (patch)
treee39d87c91dc5cc4a6f560872a688ec48b3b799d4 /gnu/packages
parent6e0d302d4efaa5de8faee243f55e3cbf79c41885 (diff)
downloadguix-eda12ac950160c79562557466924bf3574bca748.tar.gz
gnu: Add rust-der-parser-7.
* gnu/packages/crates-io.scm (rust-der-parser-7): New variable.

Change-Id: Ibc38c2fbf7e92a1d14789e05fbd6967c64bedf1c
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ede4953a32..0c70115b81 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19988,6 +19988,31 @@ targets")
 @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
+     `(#: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))
+       #:cargo-development-inputs
+       (("rust-hex-literal" ,rust-hex-literal-0.3)
+        ("rust-pretty-assertions" ,rust-pretty-assertions-1)
+        ("rust-test-case" ,rust-test-case-1))))))
+
 (define-public rust-der-parser-6
   (package
     (inherit rust-der-parser-8)