summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-tls.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-12-15 15:42:24 +0200
committerEfraim Flashner <efraim@flashner.co.il>2025-01-06 12:15:03 +0200
commite886ad78626bc014e44d6f0f69252ef5b8627330 (patch)
tree517713830880b2183a0a2fcc1dd25e26a5ecc4a0 /gnu/packages/crates-tls.scm
parent982ef5a459b58a849ad881976586eb2063ffac76 (diff)
gnu: Add rust-asn1-derive-0.20.
* gnu/packages/crates-tls.scm (rust-asn1-derive-0.20): New variable. (rust-asn1-derive-0.15): Inherit from rust-asn1-derive-0.20. Change-Id: I0dc322c8f0e463413095651b630fe12661e021c9
Diffstat (limited to 'gnu/packages/crates-tls.scm')
-rw-r--r--gnu/packages/crates-tls.scm31
1 files changed, 24 insertions, 7 deletions
diff --git a/gnu/packages/crates-tls.scm b/gnu/packages/crates-tls.scm
index 2f05c412b5c..4784fd0718e 100644
--- a/gnu/packages/crates-tls.scm
+++ b/gnu/packages/crates-tls.scm
@@ -104,29 +104,46 @@
#:cargo-development-inputs
(("rust-libc" ,rust-libc-0.2))))))
-(define-public rust-asn1-derive-0.15
+(define-public rust-asn1-derive-0.20
(package
(name "rust-asn1-derive")
- (version "0.15.5")
+ (version "0.20.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "asn1_derive" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1771kfjycjs4g2acqvxpjy3igfcgg8hychczl1lsqq64za4gj6l6"))))
+ (base32 "1b88xsqmxpxjq4p2mrn1icj7c3k2s041v7wqp8yhnqiq06fq0052"))))
(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))))
+ `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))))
(home-page "https://github.com/alex/rust-asn1")
(synopsis "#[derive] support for asn1")
(description
"This package provides #[derive] support for @code{asn1}.")
(license license:bsd-3)))
+(define-public rust-asn1-derive-0.15
+ (package
+ (inherit rust-asn1-derive-0.20)
+ (name "rust-asn1-derive")
+ (version "0.15.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "asn1_derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1771kfjycjs4g2acqvxpjy3igfcgg8hychczl1lsqq64za4gj6l6"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))))))
+
(define-public rust-asn1-derive-0.13
(package
(inherit rust-asn1-derive-0.15)