summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-08-03 14:44:59 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-08-14 19:38:25 +0300
commit33f5ad3cc30a6e7b1bf67a517a1750676523a4b3 (patch)
tree3b7525d9d943ad2369740f70db73866c161a6954 /gnu/packages/crates-io.scm
parent7138833abe219503be2478d012b58a99079dd9d7 (diff)
gnu: Add rust-yasna-0.5.
* gnu/packages/crates-io.scm (rust-yasna-0.5): New variable. (rust-yasna-0.4): Inherit from rust-yasna-0.5.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 25 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 710e77c694..bab604cf51 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -79422,8 +79422,32 @@ Read/Write streams as well as low-level in-memory encoding and decoding.")
library.")
(license (list license:expat license:asl2.0))))
+(define-public rust-yasna-0.5
+ (package
+ (name "rust-yasna")
+ (version "0.5.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "yasna" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ka4ixrplnrfqyl1kymdj8cwpdp2k0kdr73b57hilcn1kiab6yz1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bit-vec" ,rust-bit-vec-0.6)
+ ("rust-num-bigint" ,rust-num-bigint-0.4)
+ ("rust-time" ,rust-time-0.3))
+ #:cargo-development-inputs (("rust-num-traits" ,rust-num-traits-0.2))))
+ (home-page "https://github.com/qnighy/yasna.rs")
+ (synopsis "ASN.1 library for Rust")
+ (description "ASN.1 library for Rust")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-yasna-0.4
(package
+ (inherit rust-yasna-0.5)
(name "rust-yasna")
(version "0.4.0")
(source (origin
@@ -79432,18 +79456,13 @@ library.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0xgsvxqnycdakh6j3hg4dk3mylrpnba50w0d36vg5k311sfs4qp2"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bit-vec" ,rust-bit-vec-0.6)
("rust-chrono" ,rust-chrono-0.4)
("rust-num-bigint" ,rust-num-bigint-0.4))
#:cargo-development-inputs
- (("rust-num-traits" ,rust-num-traits-0.2))))
- (home-page "https://github.com/qnighy/yasna.rs")
- (synopsis "ASN.1 library for Rust")
- (description "ASN.1 library for Rust")
- (license (list license:expat license:asl2.0))))
+ (("rust-num-traits" ,rust-num-traits-0.2))))))
(define-public rust-yeslogic-fontconfig-sys-3
(package