summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-tls.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-11-20 20:40:40 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:05:32 +0200
commit8ae1e9ce1a951f208c24221c97b37b2c38c3265f (patch)
treed9e185be8e87c6fb137d19e46f05055a17d23948 /gnu/packages/crates-tls.scm
parent57f2a13f37629fc9226cb47d0c789ab518eca839 (diff)
gnu: Add rust-asn1-rs-impl-0.2.
* gnu/packages/crates-tls.scm (rust-asn1-rs-impl-0.2): New variable. (rust-asn1-rs-impl-0.1): Inherit from rust-asn1-rs-impl-0.2. Change-Id: I123a457d31434e1948dd381c4796cf3f349f7d9f
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 7460c0437d..fbdb91282c 100644
--- a/gnu/packages/crates-tls.scm
+++ b/gnu/packages/crates-tls.scm
@@ -288,8 +288,31 @@
("rust-syn" ,rust-syn-1)
("rust-synstructure" ,rust-synstructure-0.12))))))
+(define-public rust-asn1-rs-impl-0.2
+ (package
+ (name "rust-asn1-rs-impl")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "asn1-rs-impl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1xv56m0wrwix4av3w86sih1nsa5g1dgfz135lz1qdznn5h60a63v"))))
+ (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))))
+ (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-asn1-rs-impl-0.1
(package
+ (inherit rust-asn1-rs-impl-0.2)
(name "rust-asn1-rs-impl")
(version "0.1.0")
(source (origin
@@ -299,17 +322,11 @@
(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))))
+ ("rust-syn" ,rust-syn-1))))))
(define-public rust-async-native-tls-0.3
(package