--- Begin Message ---
Subject: |
[PATCH 36/41] gnu: rust-rbw: adding rust-region-3 |
Date: |
Fri, 07 Jan 2022 15:27:06 +0100 |
User-agent: |
mu4e 1.6.10; emacs 28.0.50 |
>From 13b3af3e8fa648d7571c8e708d3c697a3c2a9b02 Mon Sep 17 00:00:00 2001
From: Nicolas Graves <ngraves@ngraves.fr>
Date: Fri, 7 Jan 2022 13:33:49 +0100
Subject: [PATCH 37/42] rust-rbw dependencies : adding rust-region-3
---
gnu/packages/crates-io.scm | 35 ++++++++++++++++++++++++++++-------
1 file changed, 28 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 59a2295167..6e1381f4cd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43927,8 +43927,35 @@ (define-public rust-regex-syntax-0.3
(("rust-quickcheck" ,rust-quickcheck-0.2)
("rust-rand" ,rust-rand-0.3))))))
+(define-public rust-region-3
+ (package
+ (name "rust-region")
+ (version "3.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "region" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0bji1p0c9abzh78ps5hs0ygg9pxkg7gjspll43lxr14q6v18kqbn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-mach" ,rust-mach-0.3)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/darfink/region-rs")
+ (synopsis "Library for manipulating memory regions")
+ (description
+ "This package provides a library for manipulating memory regions.")
+ (license license:expat)))
+
(define-public rust-region-2
(package
+ (inherit rust-region-3)
(name "rust-region")
(version "2.2.0")
(source
@@ -43939,7 +43966,6 @@ (define-public rust-region-2
(string-append name "-" version ".tar.gz"))
(sha256
(base32 "1q4szar3ms76552iygmhsvzhvvwkgz4l94qpx600vmyw5bm58zl7"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
@@ -43947,12 +43973,7 @@ (define-public rust-region-2
("rust-mach" ,rust-mach-0.3)
("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
- (("rust-memmap" ,rust-memmap-0.7))))
- (home-page "https://github.com/darfink/region-rs")
- (synopsis "Library for manipulating memory regions")
- (description
- "This package provides a library for manipulating memory regions.")
- (license license:expat)))
+ (("rust-memmap" ,rust-memmap-0.7))))))
(define-public rust-relative-path-1
(package
--
2.34.0
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#53075] [PATCH 1/41] gnu: rust-rbw: adding rust-zeroize-1.4 |
Date: |
Wed, 19 Jan 2022 14:29:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello,
Nicolas Graves via Guix-patches via <guix-patches@gnu.org> writes:
> From 117ac2e745d1e9e2122bdf5859ae2b2781ca01c4 Mon Sep 17 00:00:00 2001
> From: Nicolas Graves <ngraves@ngraves.fr>
> Date: Thu, 6 Jan 2022 23:16:42 +0100
> Subject: [PATCH 02/42] rust-rbw dependencies : adding rust-zeroize-1.4
Thank you. First some general notes about your patches.
The first thing is that your patch set should have gone under the same
bug number. You created more than 40 bugs for rbw. You may want to look
at "Contributing" section of the Guix manual for details.
Also, commit messages are normalized in Guix. You should look at what
I wrote instead of yours to get a feel about it.
Eventually, descriptions should consist of full sentences.
Now about this patch.
Unless under exceptional circumstances, we don't add a new package for
a change below the first non-zero digit. In this case, the common way is
to simply update rust-zeroize-1 to 1.4.3.
Therefore, I dropped this patch and did the above.
Regards,
--
Nicolas Goaziou
--- End Message ---