aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-crypto.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-18 12:01:40 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:43:18 +0300
commit5471f8ea2e58bc6819e3170ec0ba0c778b326bee (patch)
treebfd2fd9127cc0c38410994f4695b3aac56afdfe8 /gnu/packages/crates-crypto.scm
parent3cd9c9f2963275fafc9faf09e11ae787b1b84480 (diff)
downloadguix-5471f8ea2e58bc6819e3170ec0ba0c778b326bee.tar.gz
guix-5471f8ea2e58bc6819e3170ec0ba0c778b326bee.zip
gnu: Add rust-simple-asn1-0.4.
* gnu/packages/crates-crypto.scm (rust-simple-asn1-0.4): New variable. Change-Id: Ifce58768538a2428c1f237b6b8a0081c3d0e12c4
Diffstat (limited to 'gnu/packages/crates-crypto.scm')
-rw-r--r--gnu/packages/crates-crypto.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 57051c80c9..ad74f81479 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -5514,6 +5514,30 @@ for additional details.")
("rust-syn" ,rust-syn-1)
("rust-synstructure" ,rust-synstructure-0.12))))))
+(define-public rust-simple-asn1-0.4
+ (package
+ (name "rust-simple-asn1")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "simple_asn1" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0jxy9as8nj65c2n27j843g4fpb95x4fjz31w6qx63q3wwlys2b39"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)
+ ("rust-num-bigint" ,rust-num-bigint-0.2)
+ ("rust-num-traits" ,rust-num-traits-0.2))
+ #:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-0.7)
+ ("rust-rand" ,rust-rand-0.5))))
+ (home-page "https://github.com/acw/simple_asn1")
+ (synopsis "Simple DER/ASN.1 encoding/decoding library")
+ (description
+ "This package provides a simple DER/ASN.1 encoding/decoding library.")
+ (license license:isc)))
+
(define-public rust-spki-0.7
(package
(name "rust-spki")