guix-commits
[Top][All Lists]
Advanced

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

198/470: gnu: Add rust-rustls-pemfile-1.


From: guix-commits
Subject: 198/470: gnu: Add rust-rustls-pemfile-1.
Date: Thu, 16 Mar 2023 03:01:05 -0400 (EDT)

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

commit 79210e89c9d12076891c6452cd77c2f2f0941c8a
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 11:26:08 2023 +0200

    gnu: Add rust-rustls-pemfile-1.
    
    * gnu/packages/crates-io.scm (rust-rustls-pemfile-1): New variable.
    (rust-rustls-pemfile-0.2): Inherit from rust-rustls-pemfile-1.
---
 gnu/packages/crates-io.scm | 28 +++++++++++++++++++++++-----
 1 file changed, 23 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 58783fbb48..5303e21236 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50473,29 +50473,47 @@ native certificate store.")
         ("rust-webpki" ,rust-webpki-0.21)
         ("rust-webpki-roots" ,rust-webpki-roots-0.20))))))
 
-(define-public rust-rustls-pemfile-0.2
+(define-public rust-rustls-pemfile-1
   (package
     (name "rust-rustls-pemfile")
-    (version "0.2.1")
+    (version "1.0.2")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "rustls-pemfile" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1jfi97lqnnnnxhmfy6ygrsp0x70m8wsdpaw45svvz1qc6vmymssy"))))
+        (base32 "16x5jhja8z0j5hcrlaqqz5qnyg9qgv8qqffwbdil6fl0b1nvb56i"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-base64" ,rust-base64-0.13))
+       (("rust-base64" ,rust-base64-0.21))
        #:cargo-development-inputs
-       (("rust-criterion" ,rust-criterion-0.3))))
+       (("rust-bencher" ,rust-bencher-0.1))))
     (home-page "https://github.com/rustls/pemfile";)
     (synopsis "Basic parser for PEM formatted keys and certificates")
     (description "This package provides a very basic parser for the
 PEM-encodings commonly used to store keys and certificates at rest.")
     (license (list license:asl2.0 license:isc license:expat))))
 
+(define-public rust-rustls-pemfile-0.2
+  (package
+    (inherit rust-rustls-pemfile-1)
+    (name "rust-rustls-pemfile")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rustls-pemfile" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1jfi97lqnnnnxhmfy6ygrsp0x70m8wsdpaw45svvz1qc6vmymssy"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-base64" ,rust-base64-0.13))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.3))))))
+
 (define-public rust-rusttype-0.9
   (package
     (name "rust-rusttype")



reply via email to

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