unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 53096@debbugs.gnu.org
Subject: [bug#53096] [PATCH 21/41] gnu : rust-rbw: adding rust-pem-rfc7468
Date: Fri, 07 Jan 2022 15:15:08 +0100	[thread overview]
Message-ID: <87tuefmy23.fsf@ngraves.fr> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0022-rust-rbw-dependencies-adding-rust-pem-rfc7468.patch --]
[-- Type: text/x-patch, Size: 2586 bytes --]

From dad7d96d51d2d4477e1a994e674464f0ff45fafa Mon Sep 17 00:00:00 2001
From: Nicolas Graves <ngraves@ngraves.fr>
Date: Fri, 7 Jan 2022 12:31:18 +0100
Subject: [PATCH 22/42] rust-rbw dependencies : adding rust-pem-rfc7468

---
 gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++------
 1 file changed, 33 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 602391082b..62db5e65cc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37447,18 +37447,45 @@ (define-public rust-peg-runtime-0.6
 runtime support for rust-peg grammars.  To use rust-peg, see the peg crate.")
     (license license:expat)))
 
-(define-public rust-percent-encoding-2
+(define-public rust-pem-rfc7468-0.2
   (package
-    (name "rust-percent-encoding")
-    (version "2.1.0")
+    (name "rust-pem-rfc7468")
+    (version "0.2.4")
     (source
       (origin
         (method url-fetch)
-        (uri (crate-uri "percent-encoding" version))
+        (uri (crate-uri "pem-rfc7468" version))
         (file-name (string-append name "-" version ".tar.gz"))
         (sha256
-         (base32
-          "0bp3zrsk3kr47fbpipyczidbbx4g54lzxdm77ni1i3qws10mdzfl"))))
+          (base32 "1m1c9jypydzabg4yscplmvff7pdcc8gg4cqg081hnlf03hxkmsc4"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build?
+       #t
+       #: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")
+    (description
+      "PEM Encoding (RFC 7468) for PKIX, PKCS, and CMS Structures,
+implementing a strict subset of the original Privacy-Enhanced Mail encoding
+intended specifically for use with cryptographic keys, certificates, and other
+messages.  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-percent-encoding-2
+  (package
+    (name "rust-percent-encoding")
+    (version "2.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "percent-encoding" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0bp3zrsk3kr47fbpipyczidbbx4g54lzxdm77ni1i3qws10mdzfl"))))
     (build-system cargo-build-system)
     (home-page "https://github.com/servo/rust-url/")
     (synopsis "Percent encoding and decoding")
-- 
2.34.0





             reply	other threads:[~2022-01-07 14:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-07 14:15 Nicolas Graves via Guix-patches via [this message]
2022-01-19 13:49 ` [bug#53096] [PATCH 21/41] gnu : rust-rbw: adding rust-pem-rfc7468 Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tuefmy23.fsf@ngraves.fr \
    --to=guix-patches@gnu.org \
    --cc=53096@debbugs.gnu.org \
    --cc=ngraves@ngraves.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).