unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#53098] [PATCH 23/41] gnu: rust-rbw: adding rust-sha-1-0.10
@ 2022-01-07 14:16 Nicolas Graves via Guix-patches via
  2022-01-19 13:51 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2022-01-07 14:16 UTC (permalink / raw)
  To: 53098

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0024-rust-rbw-dependencies-adding-rust-sha-1-0.10.patch --]
[-- Type: text/x-patch, Size: 2845 bytes --]

From 3a62e64aa7a0e745f4110c62dd84701face22b84 Mon Sep 17 00:00:00 2001
From: Nicolas Graves <ngraves@ngraves.fr>
Date: Fri, 7 Jan 2022 12:38:17 +0100
Subject: [PATCH 24/42] rust-rbw dependencies : adding rust-sha-1-0.10

---
 gnu/packages/crates-io.scm | 41 +++++++++++++++++++++++++++++---------
 1 file changed, 32 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e6fc76e929..232c236d55 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49780,10 +49780,10 @@ (define-public rust-servo-freetype-sys-4
      "This package provides a Rust wrapper around the FreeType library.")
     (license license:mpl2.0)))  ; build.rs is mpl2.0
 
-(define-public rust-sha-1-0.9
+(define-public rust-sha-1-0.10
   (package
     (name "rust-sha-1")
-    (version "0.9.1")
+    (version "0.10.0")
     (source
       (origin
         (method url-fetch)
@@ -49792,8 +49792,35 @@ (define-public rust-sha-1-0.9
          (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "0w37j7swjkbzgi9mf7ihkw0zfik6vl97fs6jdpqs6r68hvm3c2hp"))))
+          "03zag8zk4qlv40n2yryddapv5yxkam3hdr7n53d8qrzr2gali3q2"))))
     (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("rust-cfg-if" ,rust-cfg-if-1)
+         ("rust-cpufeatures" ,rust-cpufeatures-0.2)
+         ("rust-digest" ,rust-digest-0.10)
+         ("rust-sha1-asm" ,rust-sha1-asm-0.5))))
+    (home-page "https://github.com/RustCrypto/hashes")
+    (synopsis "SHA-1 hash function")
+    (description "SHA-1 hash function.")
+    (license (list license:expat license:asl2.0))))
+
+(define-public rust-sha-1-0.9
+  (package
+    (inherit rust-sha-1-0.10)
+    (name "rust-sha-1")
+    (version "0.9.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sha-1" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0w37j7swjkbzgi9mf7ihkw0zfik6vl97fs6jdpqs6r68hvm3c2hp"))))
     (arguments
      `(#:cargo-inputs
        (("rust-block-buffer" ,rust-block-buffer-0.9)
@@ -49805,15 +49832,11 @@ (define-public rust-sha-1-0.9
         ("rust-sha1-asm" ,rust-sha1-asm-0.4))
        #:cargo-development-inputs
        (("rust-digest" ,rust-digest-0.9)
-        ("rust-hex-literal" ,rust-hex-literal-0.2))))
-    (home-page "https://github.com/RustCrypto/hashes")
-    (synopsis "SHA-1 hash function")
-    (description "SHA-1 hash function.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-hex-literal" ,rust-hex-literal-0.2))))))
 
 (define-public rust-sha-1-0.8
   (package
-    (inherit rust-sha-1-0.9)
+    (inherit rust-sha-1-0.10)
     (name "rust-sha-1")
     (version "0.8.2")
     (source
-- 
2.34.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#53098] [PATCH 23/41] gnu: rust-rbw: adding rust-sha-1-0.10
  2022-01-07 14:16 [bug#53098] [PATCH 23/41] gnu: rust-rbw: adding rust-sha-1-0.10 Nicolas Graves via Guix-patches via
@ 2022-01-19 13:51 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2022-01-19 13:51 UTC (permalink / raw)
  To: 53098; +Cc: 53098-done, Nicolas Graves

Hello,

Nicolas Graves via Guix-patches via <guix-patches@gnu.org> writes:

> From 3a62e64aa7a0e745f4110c62dd84701face22b84 Mon Sep 17 00:00:00 2001
> From: Nicolas Graves <ngraves@ngraves.fr>
> Date: Fri, 7 Jan 2022 12:38:17 +0100
> Subject: [PATCH 24/42] rust-rbw dependencies : adding rust-sha-1-0.10

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-19 14:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-07 14:16 [bug#53098] [PATCH 23/41] gnu: rust-rbw: adding rust-sha-1-0.10 Nicolas Graves via Guix-patches via
2022-01-19 13:51 ` Nicolas Goaziou

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