summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-01-22 16:39:20 +0100
committerMarius Bakke <marius@gnu.org>2022-01-23 19:59:08 +0100
commit6bfcda00a5c09f0f98927fa35ab3c5a5b5585325 (patch)
tree7c00b6a04dbe1a67af2b980f6c45f7a702d2fae3 /gnu
parenta408e9227db52d239fc7a6523ea0165ae38e180b (diff)
gnu: Add rust-pem.
* gnu/packages/crates-io.scm (rust-pem-1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 03741b174e..c468dd04c9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39987,6 +39987,30 @@ procedural macros for rust-peg. To use rust-peg, see the peg package.")
runtime support for rust-peg grammars. To use rust-peg, see the peg crate.")
(license license:expat)))
+(define-public rust-pem-1
+ (package
+ (name "rust-pem")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pem" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0iqrvfnm71x9pvff39d5ajwn3gc9glxlv4d4h22max7342db18z9"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-base64" ,rust-base64-0.13))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3))))
+ (home-page "https://github.com/jcreekmore/pem-rs")
+ (synopsis "Parse and encode PEM-encoded data")
+ (description
+ "This package provides a Rust library for parsing and encoding
+PEM-encoded data.")
+ (license license:expat)))
+
(define-public rust-pem-rfc7468-0.2
(package
(name "rust-pem-rfc7468")