Subject: [bug#53315] [PATCH 094/150] gnu: Add rust-der-oid-macro-0.5.

From: Aleksandr Vityazev <[email-masked]>
Date: Mon, 17 Jan 2022 13:29:44 +0000

* gnu/packages/crates-io.scm (rust-der-oid-macro-0.5): New variable.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a7f3207c2c..9b6a84635a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15670,6 +15670,32 @@ (define-public rust-derive-new-0.5
 structs and enums.")
   (license license:expat)))
 
+(define-public rust-der-oid-macro-0.5
+  (package
+    (name "rust-der-oid-macro")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "der-oid-macro" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0dply8g2p72hfhyymkrkr7fjqy844drj19xbrfkqrp55nq4z4fn7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-num-bigint" ,rust-num-bigint-0.4)
+        ("rust-num-traits" ,rust-num-traits-0.2)
+        ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/rusticata/der-parser")
+    (synopsis "Macro to encode DER oids at compile time")
+    (description
+     "Macro to encode DER oids at compile time.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-des-0.6
   (package
     (name "rust-des")
-- 
2.34.0

-- 

Aleksandr Vityazev