guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#68312] [PATCH 089/156] gnu: Add rust-oid-registry-0.4.


From: Wilko Meyer
Subject: [bug#68312] [PATCH 089/156] gnu: Add rust-oid-registry-0.4.
Date: Mon, 8 Jan 2024 02:53:06 +0100

* gnu/packages/crates-io.scm (rust-oid-registry-0.4): New variable.
(rust-oid-registry-0.2): Inherit from rust-oid-registry-0.4.

Change-Id: Ie82f7ccad9c9ccca7a4a04765a01f28631f602e0
---
 gnu/packages/crates-io.scm | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b0b4f295efe..2b4f866bb5a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47005,10 +47005,26 @@ (define-public rust-oid-registry-0.6
 grammars and BER/DER encodings, for example.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-oid-registry-0.2
+(define-public rust-oid-registry-0.4
   (package
     (inherit rust-oid-registry-0.6)
     (name "rust-oid-registry")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "oid-registry" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0akbah3j8231ayrp2l1y5d9zmvbvqcsj0sa6s6dz6h85z8bhgqiq"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-asn1-rs" ,rust-asn1-rs-0.3))))))
+
+(define-public rust-oid-registry-0.2
+  (package
+    (inherit rust-oid-registry-0.4)
+    (name "rust-oid-registry")
     (version "0.2.0")
     (source (origin
               (method url-fetch)
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]