From 254dec1c4705c76c6f4068b8c7cee50c48a0fc42 Mon Sep 17 00:00:00 2001 From: Aleksandr Vityazev Date: Fri, 21 Jan 2022 23:28:34 +0100 Subject: [PATCH] gnu: Add rust-der-oid-macro-0.5. * gnu/packages/crates-io.scm (rust-der-oid-macro-0.5): New variable. Signed-off-by: Nicolas Goaziou --- 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 89896cc5a9..a7109c194f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -15648,6 +15648,32 @@ targets") `Choice` and `Sequence` traits.") (license (list license:asl2.0 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 + "This crate provides a macro to encode DER oids at compile time.") + (license (list license:expat license:asl2.0)))) + (define-public rust-derivative-2 (package (name "rust-derivative")