diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-11-20 20:40:16 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-28 11:05:32 +0200 |
commit | 57f2a13f37629fc9226cb47d0c789ab518eca839 (patch) | |
tree | e8a4adc5169bd22d2f4c7c83a0f91cee35f17377 /gnu/packages/crates-tls.scm | |
parent | e15c3c7e72892d26f0f192ac47cdc9205bbd882b (diff) |
gnu: Add rust-asn1-rs-derive-0.5.
* gnu/packages/crates-io.scm (rust-asn1-rs-derive-0.5): New variable.
(rust-asn1-rs-derive-0.4): Inherit from rust-asn1-rs-derive-0.5.
Change-Id: I7d48896078e2e407a9ba67ef81b67ff38c8010d7
Diffstat (limited to 'gnu/packages/crates-tls.scm')
-rw-r--r-- | gnu/packages/crates-tls.scm | 32 |
1 files changed, 25 insertions, 7 deletions
diff --git a/gnu/packages/crates-tls.scm b/gnu/packages/crates-tls.scm index 74045a16e6..7460c0437d 100644 --- a/gnu/packages/crates-tls.scm +++ b/gnu/packages/crates-tls.scm @@ -228,8 +228,32 @@ ("rust-pem" ,rust-pem-1) ("rust-trybuild" ,rust-trybuild-1)))))) +(define-public rust-asn1-rs-derive-0.5 + (package + (name "rust-asn1-rs-derive") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "asn1-rs-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "140ldl0vp1d0090bpm0w9j8g80dwc03wp928w5kv5diwwlrjsp4n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2) + ("rust-synstructure" ,rust-synstructure-0.13)))) + (home-page "https://github.com/rusticata/asn1-rs") + (synopsis "Derive macros for the `asn1-rs` crate") + (description + "This package provides derive macros for the @code{asn1-rs} crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-asn1-rs-derive-0.4 (package + (inherit rust-asn1-rs-derive-0.5) (name "rust-asn1-rs-derive") (version "0.4.0") (source (origin @@ -239,18 +263,12 @@ (sha256 (base32 "0v7fgmnzk7jjxv51grhwzcx5bf167nlqwk3vcmq7xblf5s4karbj")))) - (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) - ("rust-synstructure" ,rust-synstructure-0.12)))) - (home-page "https://github.com/rusticata/asn1-rs") - (synopsis "Derive macros for the `asn1-rs` crate") - (description - "This package provides derive macros for the @code{asn1-rs} crate.") - (license (list license:expat license:asl2.0)))) + ("rust-synstructure" ,rust-synstructure-0.12)))))) (define-public rust-asn1-rs-derive-0.1 (package |