diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-12-21 09:36:15 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:32 +0200 |
commit | b22216330308d21a6138d9c22424c5e1a6b8f069 (patch) | |
tree | 6b7f5f7a6358cb200e8dd49019deab4343a785dc /gnu | |
parent | 495a68cbf309200b0a2ec569d8acb744e6a99667 (diff) | |
download | guix-b22216330308d21a6138d9c22424c5e1a6b8f069.tar.gz |
gnu: Add rust-pem-3.
* gnu/packages/crates-io.scm (rust-pem-3): New variable. (rust-pem-2): Inherit from rust-pem-3. Change-Id: I31cd9f3a69fc813d4cc79298b585b6089a6dd549
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 35 |
1 files changed, 27 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e3c7482b7d..f4f13932f4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -54717,8 +54717,34 @@ 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-3 + (package + (name "rust-pem") + (version "3.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "pem" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0463ya67xrxaqn4qs9iz7rsx4parcasd78pd9fv7yd1m81wwr3qv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-base64" ,rust-base64-0.21) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-proptest" ,rust-proptest-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/jcreekmore/pem-rs.git") + (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-2 (package + (inherit rust-pem-3) (name "rust-pem") (version "2.0.1") (source (origin @@ -54728,7 +54754,6 @@ runtime support for rust-peg grammars. To use rust-peg, see the peg crate.") (sha256 (base32 "06j4vmzkfg5jh9ykc5bdvydishqkbb4sf64fa528wg6zbi0zw4vb")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-base64" ,rust-base64-0.21) @@ -54736,13 +54761,7 @@ runtime support for rust-peg grammars. To use rust-peg, see the peg crate.") #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) ("rust-proptest" ,rust-proptest-1) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/jcreekmore/pem-rs.git") - (synopsis "Parse and encode PEM-encoded data") - (description - "This package provides a Rust library for parsing and encoding -PEM-encoded data.") - (license license:expat))) + ("rust-serde-json" ,rust-serde-json-1)))))) (define-public rust-pem-1 (package |