From 94db437cd491a7dc58056200e18657c4b024483a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 2 Aug 2023 19:33:51 +0300 Subject: [PATCH] gnu: Add rust-asn1-rs-impl-0.1. * gnu/packages/crates-io.scm (rust-asn1-rs-impl-0.1): New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4e01102e12..7ed35d86a5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4250,6 +4250,29 @@ (define-public rust-asn1-0.13 "This is a Rust library for parsing and generating ASN.1 data (DER only).") (license license:bsd-3))) +(define-public rust-asn1-rs-impl-0.1 + (package + (name "rust-asn1-rs-impl") + (version "0.1.0") + (source (origin + (method url-fetch) + (uri (crate-uri "asn1-rs-impl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1va27bn7qxqp4wanzjlkagnynv6jnrhnwmcky2ahzb1r405p6xr7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/rusticata/asn1-rs") + (synopsis "Implementation details for the `asn1-rs` crate") + (description + "This package provides implementation details for the @code{asn1-rs} crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-as-slice-0.2 (package (name "rust-as-slice")