unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#53107] [PATCH 32/41] gnu: rust-rbw: adding rust-pkcs5-0.3
@ 2022-01-07 14:24 Nicolas Graves via Guix-patches via
  0 siblings, 0 replies; only message in thread
From: Nicolas Graves via Guix-patches via @ 2022-01-07 14:24 UTC (permalink / raw)
  To: 53107

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0033-rust-rbw-dependencies-adding-rust-pkcs5-0.3.patch --]
[-- Type: text/x-patch, Size: 1974 bytes --]

From e98270f6cf75088d67bcdf02c94a6b3f9d5bc7dd Mon Sep 17 00:00:00 2001
From: Nicolas Graves <ngraves@ngraves.fr>
Date: Fri, 7 Jan 2022 13:18:54 +0100
Subject: [PATCH 33/42] rust-rbw dependencies : adding rust-pkcs5-0.3

---
 gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8fa6d8c778..9eb214a58b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38536,6 +38536,40 @@ (define-public rust-pkcs1-0.2
 (RFC 8017)")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-pkcs5-0.3
+  (package
+    (name "rust-pkcs5")
+    (version "0.3.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "pkcs5" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "1m3xrrwwbn9883bylgjzssfh3w1lbl7fhkb3ndz721rf27pca8sl"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("rust-aes" ,rust-aes-0.7)
+         ("rust-block-modes" ,rust-block-modes-0.8)
+         ("rust-der" ,rust-der-0.4)
+         ("rust-des" ,rust-des-0.7)
+         ("rust-hmac" ,rust-hmac-0.11)
+         ("rust-pbkdf2" ,rust-pbkdf2-0.9)
+         ("rust-scrypt" ,rust-scrypt-0.8)
+         ("rust-sha-1" ,rust-sha-1-0.9)
+         ("rust-sha2" ,rust-sha2-0.9)
+         ("rust-spki" ,rust-spki-0.4))))
+    (home-page "https://github.com/RustCrypto/formats/tree/master/pkcs5")
+    (synopsis
+      "Implementation of Public-Key Cryptography Standards (PKCS) #5")
+    (description
+      "Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #5:
+Password-Based Cryptography Specification Version 2.1 (RFC 8018)")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-pkg-config-0.3
   (package
     (name "rust-pkg-config")
-- 
2.34.0





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-07 14:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-07 14:24 [bug#53107] [PATCH 32/41] gnu: rust-rbw: adding rust-pkcs5-0.3 Nicolas Graves via Guix-patches via

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).