guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

27/379: gnu: Add rust-pem-rfc7468-0.7.


From: guix-commits
Subject: 27/379: gnu: Add rust-pem-rfc7468-0.7.
Date: Mon, 10 Jul 2023 05:27:47 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit f1f55428b4668e82ee4cac8117b2669b2b3ce03e
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 11 17:01:55 2023 +0300

    gnu: Add rust-pem-rfc7468-0.7.
    
    * gnu/packages/crates-io.scm (rust-pem-rfc7468-0.7): New variable.
    (rust-pem-rfc7468-0.2): Inherit from rust-pem-rfc7468-0.7.
---
 gnu/packages/crates-io.scm | 37 ++++++++++++++++++++++++++-----------
 1 file changed, 26 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e332c10f4e..3ec07c81c8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43522,21 +43522,20 @@ PEM-encoded data.")
        #:cargo-development-inputs
        (("rust-criterion" ,rust-criterion-0.3))))))
 
-(define-public rust-pem-rfc7468-0.2
+(define-public rust-pem-rfc7468-0.7
   (package
     (name "rust-pem-rfc7468")
-    (version "0.2.4")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "pem-rfc7468" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "1m1c9jypydzabg4yscplmvff7pdcc8gg4cqg081hnlf03hxkmsc4"))))
+    (version "0.7.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "pem-rfc7468" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "04l4852scl4zdva31c1z6jafbak0ni5pi0j38ml108zwzjdrrcw8"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs (("rust-base64ct" ,rust-base64ct-1))))
+     `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1))))
     (home-page "https://github.com/RustCrypto/formats/tree/master/pem-rfc7468";)
     (synopsis
      "PEM Encoding implementing a subset of Privacy-Enhanced Mail encoding")
@@ -43548,6 +43547,22 @@ and other messages.  It provides a no_std-friendly, 
constant-time
 implementation suitable for use with cryptographic private keys.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-pem-rfc7468-0.2
+  (package
+    (inherit rust-pem-rfc7468-0.7)
+    (name "rust-pem-rfc7468")
+    (version "0.2.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pem-rfc7468" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1m1c9jypydzabg4yscplmvff7pdcc8gg4cqg081hnlf03hxkmsc4"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-base64ct" ,rust-base64ct-1))))))
+
 (define-public rust-percent-encoding-2
   (package
     (name "rust-percent-encoding")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]