[PATCH] gnu: rbw: Update to 1.4.3

  • Done
  • quality assurance status badge
Details
3 participants
  • Maxime Devos
  • Nicolas Graves
  • Tyler Wolf
Owner
unassigned
Submitted by
Nicolas Graves
Severity
normal
N
M
M
Maxime Devos wrote on 14 Feb 2022 20:23
52f2be01de0179ccc846ef74bca125389446b619.camel@telenet.be
Nicolas Graves via Guix-patches via schreef op ma 14-02-2022 om 14:14
[+0100]:
Toggle quote (12 lines)
> From 21a2bac84228cbe89a49526941a8b5319bd3f14b Mon Sep 17 00:00:00
> 2001
> From: Nicolas Graves <ngraves@ngraves.fr>
> Date: Mon, 14 Feb 2022 13:55:44 +0100
> Subject: [PATCH] gnu: rbw: Update to 1.4.3
>
> ---
>  gnu/packages/crates-io.scm | 469 ++++++++++++++++++-----------------
> --
>  gnu/packages/rust-apps.scm | 107 ++++-----
>  2 files changed, 275 insertions(+), 301 deletions(-)

Could you split this patch in individual patches for updating packages
and adding patches? That would make reviewing easier.

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYgqsHBccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7vBmAQCe640U1cLMWCudzu6gDY/BtrnW
lUyEhp7uLI55IbYJtQD/dzyJn6xNH/r6IdRzqm3NbMILORO/2+8BRIhkPEGwtwo=
=JllV
-----END PGP SIGNATURE-----


N
N
Nicolas Graves wrote on 15 Feb 2022 08:50
(name . Maxime Devos)(address . maximedevos@telenet.be)(address . 53995@debbugs.gnu.org)
87zgms4krn.fsf@ngraves.fr
Hi Maxime,

Do you mean updating packages and adding packages ?

I added two packages because they were now needed for rbw:
- rust-valuable-derive-0.1
- rust-valuable-0.1

Also I (maybe questionnably) updated 2 packages that are used elsewhere :
- rust-hyper-rustls-0.22 --> rust-hyper-rustls-0.23
- rust-tokio-rustls-0.22 --> rust-tokio-rustls-0.23

The sole "patch" I can see is that of rbw in rust-apps: the only change
is the deletion of now unneeded "relax-requirements".

Is it clearer ? What precisely can I split to ease the review ? Last
time I contributed, I made ~40 patches for each individual package
added, seemed too much.

Cheers,

Nicolas

Maxime Devos <maximedevos@telenet.be> writes:

Toggle quote (22 lines)
> [[PGP Signed Part:Undecided]]
> Nicolas Graves via Guix-patches via schreef op ma 14-02-2022 om 14:14
> [+0100]:
>> From 21a2bac84228cbe89a49526941a8b5319bd3f14b Mon Sep 17 00:00:00
>> 2001
>> From: Nicolas Graves <ngraves@ngraves.fr>
>> Date: Mon, 14 Feb 2022 13:55:44 +0100
>> Subject: [PATCH] gnu: rbw: Update to 1.4.3
>>
>> ---
>>  gnu/packages/crates-io.scm | 469 ++++++++++++++++++-----------------
>> --
>>  gnu/packages/rust-apps.scm | 107 ++++-----
>>  2 files changed, 275 insertions(+), 301 deletions(-)
>
> Could you split this patch in individual patches for updating packages
> and adding patches? That would make reviewing easier.
>
> Greetings,
> Maxime.
>
> [[End of PGP Signed Part]]
M
M
Maxime Devos wrote on 15 Feb 2022 09:45
(name . Nicolas Graves)(address . ngraves@ngraves.fr)(address . 53995@debbugs.gnu.org)
7d19f36e73cbb3fb2ede965162bc2e7ac96506a8.camel@telenet.be
Nicolas Graves schreef op di 15-02-2022 om 08:50 [+0100]:
Toggle quote (12 lines)
> Hi Maxime,
>
> Do you mean updating packages and adding packages ?
>
> I added two packages because they were now needed for rbw:
> - rust-valuable-derive-0.1
> - rust-valuable-0.1
>
> Also I (maybe questionnably) updated 2 packages that are used elsewhere :
> - rust-hyper-rustls-0.22 --> rust-hyper-rustls-0.23
> - rust-tokio-rustls-0.22 --> rust-tokio-rustls-0.23

I count at least 21 package updates.

Toggle quote (3 lines)
> The sole "patch" I can see is that of rbw in rust-apps: the only change
> is the deletion of now unneeded "relax-requirements".

With 'patch', I meant 0001-gnu-rbw-Update-to-1.4.3.patch.

Toggle quote (4 lines)
> Is it clearer ? What precisely can I split to ease the review ? Last
> time I contributed, I made ~40 patches for each individual package
> added, seemed too much.

To ease review, I recommend 1 patch per package update and 1 patch per
new package. From (guix)Submitting Patches:

13. Verify that your patch contains only one set of related changes.
Bundling unrelated changes together makes reviewing harder and
slower.

Examples of unrelated changes include the addition of several
packages, or a package update along with fixes to that package.

The total size of the changes remains the same, so splitting patches
does not make things ‘too much’ anymore than the original patch would
be ‘too much’. Splitting patches makes it easier to respond to
individual parts.

Also, a commit message was missing. Additionally, I recommend setting
the "--base" option of "git format-patch/git send-email" to help with
rebasing.

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYgtoPRccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7lCcAP0XW1AQYdy66GdHyuPB4vU7j5Jo
AnKj2pyNQx1mGHyGzwEA6quPib5/cc0WfCuiZj00JZ7xJ41/WHoQSbWLr51O4wI=
=kPF2
-----END PGP SIGNATURE-----


N
N
Nicolas Graves wrote on 16 Feb 2022 02:08
[PATCH 01/31] gnu: update rust-anyhow to 1.0.53.
(address . 53995@debbugs.gnu.org)
20220216010836.18743-1-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d21fb240a8..0dfdf4569a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2763,7 +2763,7 @@ (define-public rust-antidote-1
(define-public rust-anyhow-1
(package
(name "rust-anyhow")
- (version "1.0.46")
+ (version "1.0.53")
(source
(origin
(method url-fetch)
@@ -2771,15 +2771,12 @@ (define-public rust-anyhow-1
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0w0zm1bqk5kbk834r4xszlzqiln4vw5k1lnlswyjkh24khi2ia1s"))))
+ (base32 "1q06xg4jn4lpad7lj1af28x5xdwymgl1k820zj2nnrhlbi2mp94l"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-development-inputs
- (("rust-futures" ,rust-futures-0.3)
- ("rust-rustversion" ,rust-rustversion-1)
- ("rust-thiserror" ,rust-thiserror-1)
- ("rust-trybuild" ,rust-trybuild-1))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-backtrace" ,rust-backtrace-0.3))))
(home-page "https://github.com/dtolnay/anyhow")
(synopsis "Flexible concrete Error type")
(description "This package provides a flexible concrete Error type built on
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:12
[PATCH 02/31] gnu: update rust-arrayvec to 0.7.2.
(address . 53995@debbugs.gnu.org)
20220216011233.19621-1-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0dfdf4569a..cdce908e3d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3263,7 +3263,7 @@ (define-public rust-arrayref-0.3
(define-public rust-arrayvec-0.7
(package
(name "rust-arrayvec")
- (version "0.7.0")
+ (version "0.7.2")
(source
(origin
(method url-fetch)
@@ -3271,17 +3271,10 @@ (define-public rust-arrayvec-0.7
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1xza6jbs8x51yhh4qnwjw1crm33bhl975r965fpq1hqhpfq5hbss"))))
+ (base32 "1mjl8jjqxpl0x7sm9cij61cppi7yi38cdrd1l8zjw7h7qxk2v9cd"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-serde" ,rust-serde-1))
- #:cargo-development-inputs
- (("rust-bencher" ,rust-bencher-0.1)
- ("rust-matches" ,rust-matches-0.1)
- ("rust-serde-test" ,rust-serde-test-1))))
+ `(#:skip-build? #t #:cargo-inputs (("rust-serde" ,rust-serde-1))))
(home-page "https://github.com/bluss/arrayvec")
(synopsis "Vector with fixed capacity")
(description
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:13
[PATCH 03/31] gnu: update rust-async-trait to 0.1.52.
(address . 53995@debbugs.gnu.org)
20220216011357.20065-1-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cdce908e3d..66f9fb5aa0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4960,26 +4960,21 @@ (define-public rust-async-tls-0.10
(define-public rust-async-trait-0.1
(package
(name "rust-async-trait")
- (version "0.1.42")
+ (version "0.1.52")
(source
(origin
(method url-fetch)
(uri (crate-uri "async-trait" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0gd13pqgw5m6l4bqwjkickq13c4v0jxzxs5i4dwmldrlgvklafld"))))
+ (base32 "1qv5l9izrd96zcrlcr4x1kh41ylq1d9702f3vl8w11m2rb67l6h6"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-proc-macro2" ,rust-proc-macro2-1)
- ("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))
- #:cargo-development-inputs
- (("rust-rustversion" ,rust-rustversion-1)
- ("rust-tracing" ,rust-tracing-0.1)
- ("rust-tracing-attributes" ,rust-tracing-attributes-0.1)
- ("rust-tracing-futures" ,rust-tracing-futures-0.2)
- ("rust-trybuild" ,rust-trybuild-1))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
(home-page "https://github.com/dtolnay/async-trait")
(synopsis "Type erasure for async trait methods")
(description "This package provides type erasure for async trait
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:14
[PATCH 04/31] gnu: update rust-block-padding to 0.2.1.
(address . 53995@debbugs.gnu.org)
20220216011445.20548-1-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Toggle diff (27 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 66f9fb5aa0..b913e21e23 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7784,7 +7784,7 @@ (define-public rust-block-modes-0.7
(define-public rust-block-padding-0.2
(package
(name "rust-block-padding")
- (version "0.2.0")
+ (version "0.2.1")
(source
(origin
(method url-fetch)
@@ -7792,9 +7792,9 @@ (define-public rust-block-padding-0.2
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0x6b2dgink7rc3755r8jl4kmndydy5563h3wz7z9jqrb25ygv2y9"))))
+ (base32 "1bickjlmfw9iv63dp781n589rfybw879mik1va59833m1hvnqscd"))))
(build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
(home-page "https://github.com/RustCrypto/utils")
(synopsis "Padding and unpadding of messages divided into blocks")
(description
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:15
[PATCH 05/31] gnu: update rust-h2 to 0.3.11.
(address . 53995@debbugs.gnu.org)
20220216011536.20934-1-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b913e21e23..ea990aa39c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25463,14 +25463,14 @@ (define-public rust-gzip-header-0.3
(define-public rust-h2-0.3
(package
(name "rust-h2")
- (version "0.3.7")
+ (version "0.3.11")
(source
(origin
(method url-fetch)
(uri (crate-uri "h2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0mdf0x3cxj4rhx2zrm0gnx02i43gqcz3q4awzidargff5xb1kn3z"))))
+ (base32 "13pzhasjizgv0v21yvrx3majd4xpipc1z1vyvwvbmcn7vlbzgwfr"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:18
[PATCH 06/31] gnu: update rust-libc to 0.2.117.
(address . 53995@debbugs.gnu.org)
20220216011820.21967-1-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)

Toggle diff (30 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ea990aa39c..763290c195 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30585,18 +30585,19 @@ (define-public rust-lexopt-0.2
(define-public rust-libc-0.2
(package
(name "rust-libc")
- (version "0.2.112")
+ (version "0.2.117")
(source
(origin
(method url-fetch)
(uri (crate-uri "libc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "09bik7pcck869kfr5i9hjhnck0mzpd9v0ijxbqnh8fja6rzx20qv"))))
+ (base32 "0v52a7r5kmgc97rjf1sm3p3gkw3djzrnld4sli65nnxnz7h74kg7"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))
(home-page "https://github.com/rust-lang/libc")
(synopsis "Raw FFI bindings to platform libraries like libc")
(description
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:20
[PATCH 07/31] gnu: update rust-redox-syscall to 0.2.10.
(address . 53995@debbugs.gnu.org)
20220216012005.22698-1-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 763290c195..35bd97e354 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47057,14 +47057,14 @@ (define-public rust-recycler-0.1
(define-public rust-redox-syscall-0.2
(package
(name "rust-redox-syscall")
- (version "0.2.5")
+ (version "0.2.10")
(source
(origin
(method url-fetch)
(uri (crate-uri "redox_syscall" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1n878lpw577avdr5dzbkil02xwbx0a57mr2r3dcnnkz28i71wd4l"))))
+ (base32 "1zq36bhw4c6xig340ja1jmr36iy0d3djp8smsabxx71676bg70w3"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:20
[PATCH 08/31] gnu: update rust-serde-derive to 1.0.136.
(address . 53995@debbugs.gnu.org)
20220216012049.22989-1-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 35bd97e354..7f33972c94 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53430,22 +53430,21 @@ (define-public rust-serdeconv-0.4
(define-public rust-serde-derive-1
(package
(name "rust-serde-derive")
- (version "1.0.133")
+ (version "1.0.136")
(source
(origin
(method url-fetch)
(uri (crate-uri "serde-derive" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0dym0l8a0pch0mkqnhrf89n4wngzwf0d1z88hb8dhs456acic87d"))))
+ (base32 "1yb28smlymba4qbj2bn4c4myvblypqvkxv9q33s0dlzwa9qpwn88"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-proc-macro2" ,rust-proc-macro2-1)
- ("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))
- #:cargo-development-inputs
- (("rust-serde" ,rust-serde-1))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
(home-page "https://serde.rs")
(synopsis
"Macros 1.1 implementation of #[derive(Serialize, Deserialize)]")
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:21
[PATCH 09/31] gnu: update rust-cookie-store to 0.15.
(address . 53995@debbugs.gnu.org)
20220216012121.23997-1-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 35 ++++++++++++++++-------------------
1 file changed, 16 insertions(+), 19 deletions(-)

Toggle diff (73 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7f33972c94..50d57e60d8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12795,10 +12795,10 @@ (define-public rust-cookie-factory-0.3
similar to the nom parser combinators library.")
(license license:expat)))
-(define-public rust-cookie-store-0.7
+(define-public rust-cookie-store-0.15
(package
(name "rust-cookie-store")
- (version "0.7.0")
+ (version "0.15.1")
(source
(origin
(method url-fetch)
@@ -12806,23 +12806,20 @@ (define-public rust-cookie-store-0.7
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "174i9k9g62pfx7y1nqynywdpjplkl3j4hi3ck6bz2r996qzhnxa6"))))
+ (base32 "0z0navy9k0ivrdvz492q8c4nhd3iv5l77hwfppskdp1j15607xxk"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-cookie" ,rust-cookie-0.12)
- ("rust-idna" ,rust-idna-0.1)
- ("rust-log" ,rust-log-0.4)
- ("rust-publicsuffix" ,rust-publicsuffix-1)
- ("rust-serde" ,rust-serde-1)
- ("rust-serde-json" ,rust-serde-json-1)
- ("rust-time" ,rust-time-0.1)
- ("rust-try-from" ,rust-try-from-0.3)
- ("rust-url" ,rust-url-1))
- #:cargo-development-inputs
- (("rust-env-logger" ,rust-env-logger-0.6)
- ("rust-pretty-assertions" ,rust-pretty-assertions-0.6))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cookie" ,rust-cookie-0.15)
+ ("rust-idna" ,rust-idna-0.2)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-publicsuffix" ,rust-publicsuffix-2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-time" ,rust-time-0.2)
+ ("rust-url" ,rust-url-2))))
(home-page "https://github.com/pfernie/cookie_store")
(synopsis "Implementation of Cookie storage and retrieval per RFC6265")
(description
@@ -47675,7 +47672,7 @@ (define-public rust-reqwest-0.11
("rust-base64" ,rust-base64-0.13)
("rust-bytes" ,rust-bytes-1)
("rust-cookie" ,rust-cookie-0.14)
- ("rust-cookie-store" ,rust-cookie-store-0.12)
+ ("rust-cookie-store" ,rust-cookie-store-0.15)
("rust-encoding-rs" ,rust-encoding-rs-0.8)
("rust-futures-core" ,rust-futures-core-0.3)
("rust-futures-util" ,rust-futures-util-0.3)
@@ -47818,7 +47815,7 @@ (define-public rust-reqwest-0.9
(("rust-base64" ,rust-base64-0.10)
("rust-bytes" ,rust-bytes-0.4)
("rust-cookie" ,rust-cookie-0.12)
- ("rust-cookie-store" ,rust-cookie-store-0.7)
+ ("rust-cookie-store" ,rust-cookie-store-0.15)
("rust-encoding-rs" ,rust-encoding-rs-0.8)
("rust-flate2" ,rust-flate2-1)
("rust-futures" ,rust-futures-0.1)
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:21
[PATCH 10/31] gnu: update rust-hyper-rustls-0.23.
(address . 53995@debbugs.gnu.org)
20220216012149.24258-1-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 32 +++++++++++++++-----------------
1 file changed, 15 insertions(+), 17 deletions(-)

Toggle diff (69 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 50d57e60d8..546315ce7f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27525,31 +27525,29 @@ (define-public rust-hyper-old-types-0.11
0.11.x.")
(license license:expat)))
-(define-public rust-hyper-rustls-0.22
+(define-public rust-hyper-rustls-0.23
(package
(name "rust-hyper-rustls")
- (version "0.22.1")
+ (version "0.23.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "hyper-rustls" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0r2szp06nzqx6gblcw69kwx8afjp218fc083kfpw0i3d66bpm7sz"))))
+ (base32 "1b2wi75qrmwfpw3pqwcg1xjndl4z0aris15296wf7i8d5v04hz6q"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-ct-logs" ,rust-ct-logs-0.8)
- ("rust-futures-util" ,rust-futures-util-0.3)
- ("rust-hyper" ,rust-hyper-0.14)
- ("rust-log" ,rust-log-0.4)
- ("rust-rustls" ,rust-rustls-0.19)
- ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.5)
- ("rust-tokio" ,rust-tokio-1)
- ("rust-tokio-rustls" ,rust-tokio-rustls-0.22)
- ("rust-webpki" ,rust-webpki-0.21)
- ("rust-webpki-roots" ,rust-webpki-roots-0.21))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-http" ,rust-http-0.2)
+ ("rust-hyper" ,rust-hyper-0.14)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-rustls" ,rust-rustls-0.20)
+ ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-rustls" ,rust-tokio-rustls-0.23)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.22))))
(home-page "https://github.com/ctz/hyper-rustls")
(synopsis "Rustls+Hyper integration for pure Rust HTTPS")
(description
@@ -27559,7 +27557,7 @@ (define-public rust-hyper-rustls-0.22
(define-public rust-hyper-rustls-0.21
(package
- (inherit rust-hyper-rustls-0.22)
+ (inherit rust-hyper-rustls-0.23)
(name "rust-hyper-rustls")
(version "0.21.0")
(source
@@ -47679,7 +47677,7 @@ (define-public rust-reqwest-0.11
("rust-http" ,rust-http-0.2)
("rust-http-body" ,rust-http-body-0.4)
("rust-hyper" ,rust-hyper-0.14)
- ("rust-hyper-rustls" ,rust-hyper-rustls-0.22)
+ ("rust-hyper-rustls" ,rust-hyper-rustls-0.23)
("rust-hyper-tls" ,rust-hyper-tls-0.5)
("rust-ipnet" ,rust-ipnet-2)
("rust-js-sys" ,rust-js-sys-0.3)
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:21
[PATCH 11/31] gnu: update rust-native-tls-0.2 to 0.2.8.
(address . 53995@debbugs.gnu.org)
20220216012149.24258-2-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)

Toggle diff (43 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 546315ce7f..ed7e89297c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35456,17 +35456,18 @@ (define-public rust-napi-sys-0.4
(define-public rust-native-tls-0.2
(package
(name "rust-native-tls")
- (version "0.2.7")
+ (version "0.2.8")
(source
(origin
(method url-fetch)
(uri (crate-uri "native-tls" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1m6v16xl8h4pm32pw6yhrvgwznf60bqhj2qhb1yrb8wd3hp6pndq"))))
+ (base32 "0kdj0drgp8cqk3v430c5ac7dfpzvhm1621w96cpz985m35vrzfj8"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; tests require network access
+ #:skip-build? #t
#:cargo-inputs
(("rust-lazy-static" ,rust-lazy-static-1)
("rust-libc" ,rust-libc-0.2)
@@ -35477,14 +35478,7 @@ (define-public rust-native-tls-0.2
("rust-schannel" ,rust-schannel-0.1)
("rust-security-framework" ,rust-security-framework-2)
("rust-security-framework-sys" ,rust-security-framework-sys-2)
- ("rust-tempfile" ,rust-tempfile-3))
- #:cargo-development-inputs
- (("rust-hex" ,rust-hex-0.4)
- ("rust-test-cert-gen" ,rust-test-cert-gen-0.1))))
- (native-inputs
- (list pkg-config))
- (inputs
- (list openssl))
+ ("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://github.com/sfackler/rust-native-tls")
(synopsis "Wrapper over a platform's native TLS implementation")
(description
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:21
[PATCH 12/31] gnu: update rust-reqwest-0.11 to 0.11.9.
(address . 53995@debbugs.gnu.org)
20220216012149.24258-3-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 29 +++++++++++------------------
1 file changed, 11 insertions(+), 18 deletions(-)

Toggle diff (78 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ed7e89297c..fe00971c35 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47648,14 +47648,14 @@ (define-public rust-reopen-0.3
(define-public rust-reqwest-0.11
(package
(name "rust-reqwest")
- (version "0.11.4")
+ (version "0.11.9")
(source
(origin
(method url-fetch)
(uri (crate-uri "reqwest" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "08kdxaa7c5wzlr2f4qkqlczc86p30sz84xllk83dyxxvp5hryvi4"))))
+ (base32 "0995ng67r8rry8864wxp2iwkpr4sc34fgny6p9wrllwa93ql5wl7"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -47663,11 +47663,12 @@ (define-public rust-reqwest-0.11
(("rust-async-compression" ,rust-async-compression-0.3)
("rust-base64" ,rust-base64-0.13)
("rust-bytes" ,rust-bytes-1)
- ("rust-cookie" ,rust-cookie-0.14)
+ ("rust-cookie" ,rust-cookie-0.15)
("rust-cookie-store" ,rust-cookie-store-0.15)
("rust-encoding-rs" ,rust-encoding-rs-0.8)
("rust-futures-core" ,rust-futures-core-0.3)
("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-h2" ,rust-h2-0.3)
("rust-http" ,rust-http-0.2)
("rust-http-body" ,rust-http-body-0.4)
("rust-hyper" ,rust-hyper-0.14)
@@ -47682,15 +47683,16 @@ (define-public rust-reqwest-0.11
("rust-native-tls" ,rust-native-tls-0.2)
("rust-percent-encoding" ,rust-percent-encoding-2)
("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
- ("rust-rustls" ,rust-rustls-0.19)
- ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.5)
+ ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
+ ("rust-rustls" ,rust-rustls-0.20)
+ ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6)
+ ("rust-rustls-pemfile" ,rust-rustls-pemfile-0.2)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)
- ("rust-time" ,rust-time-0.2)
("rust-tokio" ,rust-tokio-1)
("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3)
- ("rust-tokio-rustls" ,rust-tokio-rustls-0.22)
+ ("rust-tokio-rustls" ,rust-tokio-rustls-0.23)
("rust-tokio-socks" ,rust-tokio-socks-0.5)
("rust-tokio-util" ,rust-tokio-util-0.6)
("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.20)
@@ -47698,17 +47700,8 @@ (define-public rust-reqwest-0.11
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
("rust-web-sys" ,rust-web-sys-0.3)
- ("rust-webpki-roots" ,rust-webpki-roots-0.21)
- ("rust-winreg" ,rust-winreg-0.7))
- #:cargo-development-inputs
- (("rust-brotli" ,rust-brotli-3)
- ("rust-doc-comment" ,rust-doc-comment-0.3)
- ("rust-env-logger" ,rust-env-logger-0.8)
- ("rust-hyper" ,rust-hyper-0.14)
- ("rust-libflate" ,rust-libflate-1)
- ("rust-serde" ,rust-serde-1)
- ("rust-tokio" ,rust-tokio-1)
- ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+ ("rust-webpki-roots" ,rust-webpki-roots-0.22)
+ ("rust-winreg" ,rust-winreg-0.7))))
(home-page "https://github.com/seanmonstar/reqwest")
(synopsis "High level HTTP client library")
(description "This package provides a high level HTTP client library.")
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:21
[PATCH 13/31] gnu: update rust-serde-1 to 1.0.136.
(address . 53995@debbugs.gnu.org)
20220216012149.24258-4-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fe00971c35..c16eb20ec7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53016,14 +53016,14 @@ (define-public rust-seq-macro-0.2
(define-public rust-serde-1
(package
(name "rust-serde")
- (version "1.0.133")
+ (version "1.0.136")
(source
(origin
(method url-fetch)
(uri (crate-uri "serde" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "16lq33l09nkm0hxdhfjjmh3yjv83rrcqw9lbxb8y4q3va5km0mlp"))))
+ (base32 "12a791cbdd3gi08536i4frrqsps0ak8gvhpijvgj9rg1055y4cff"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:21
[PATCH 14/31] gnu: update rust-serde-json to 1.0.79
(address . 53995@debbugs.gnu.org)
20220216012149.24258-5-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 22 ++++++++--------------
1 file changed, 8 insertions(+), 14 deletions(-)

Toggle diff (43 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c16eb20ec7..f6e9b344ef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53515,28 +53515,22 @@ (define-public rust-serde-ignored-0.1
(define-public rust-serde-json-1
(package
(name "rust-serde-json")
- (version "1.0.74")
+ (version "1.0.79")
(source
(origin
(method url-fetch)
(uri (crate-uri "serde-json" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0hiixjnrnrvvpyh58av73ds924zgzi4wl0mv8p9nan0w0v6vjazf"))))
+ (base32 "158xd1swdvw6y59bx4avb8vdpj727n54r77xw5f7c15kqfjrz3cf"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-indexmap" ,rust-indexmap-1)
- ("rust-itoa" ,rust-itoa-1)
- ("rust-ryu" ,rust-ryu-1)
- ("rust-serde" ,rust-serde-1))
- #:cargo-development-inputs
- (("rust-automod" ,rust-automod-1)
- ("rust-rustversion" ,rust-rustversion-1)
- ("rust-serde-bytes" ,rust-serde-bytes-0.11)
- ("rust-serde-derive" ,rust-serde-derive-1)
- ("rust-serde-stacker" ,rust-serde-stacker-0.1)
- ("rust-trybuild" ,rust-trybuild-1))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-indexmap" ,rust-indexmap-1)
+ ("rust-itoa" ,rust-itoa-1)
+ ("rust-ryu" ,rust-ryu-1)
+ ("rust-serde" ,rust-serde-1))))
(home-page "https://github.com/serde-rs/json")
(synopsis "JSON serialization file format")
(description
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:21
[PATCH 15/31] gnu: update rust-serde-path-to-error-0.1 to 0.1.7
(address . 53995@debbugs.gnu.org)
20220216012149.24258-6-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f6e9b344ef..deefd9f236 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53601,7 +53601,7 @@ (define-public rust-serde-macros-0.4
(define-public rust-serde-path-to-error-0.1
(package
(name "rust-serde-path-to-error")
- (version "0.1.4")
+ (version "0.1.7")
(source
(origin
(method url-fetch)
@@ -53609,16 +53609,10 @@ (define-public rust-serde-path-to-error-0.1
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0n5ilbsxvi174m2fd506ivd43kws0yh523li1xz0zqh60ngi1xj2"))))
+ (base32 "0xx3n62nyjvrjzg4ypm5419ywy22285j5a4rx858lshrp39qm1np"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-serde" ,rust-serde-1))
- #:cargo-development-inputs
- (("rust-serde-derive" ,rust-serde-derive-1)
- ("rust-serde-json" ,rust-serde-json-1))))
+ `(#:skip-build? #t #:cargo-inputs (("rust-serde" ,rust-serde-1))))
(home-page
"https://github.com/dtolnay/path-to-error")
(synopsis
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:21
[PATCH 16/31] gnu: update rust-serde-repr-0.1 to 0.1.7.
(address . 53995@debbugs.gnu.org)
20220216012149.24258-7-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index deefd9f236..9b7098d053 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53659,14 +53659,14 @@ (define-public rust-serde-qs-0.7
(define-public rust-serde-repr-0.1
(package
(name "rust-serde-repr")
- (version "0.1.6")
+ (version "0.1.7")
(source
(origin
(method url-fetch)
(uri (crate-uri "serde_repr" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0xhwamlb1ax3w87mpq0awcphwchprh93y1hb47rm3c0p3favgiid"))))
+ (base32 "1mcy39p1g3z49rzzsadfhpy6yv2f3zx9ihhplbpjk32i01lm3l4q"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:21
[PATCH 17/31] gnu: update rust-sha-1-0.9 to 0.9.8.
(address . 53995@debbugs.gnu.org)
20220216012149.24258-8-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 24 ++++++++++--------------
1 file changed, 10 insertions(+), 14 deletions(-)

Toggle diff (45 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9b7098d053..d789f0d8fc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -54268,7 +54268,7 @@ (define-public rust-sha-1-0.9
(package
(inherit rust-sha-1-0.10)
(name "rust-sha-1")
- (version "0.9.1")
+ (version "0.9.8")
(source
(origin
(method url-fetch)
@@ -54276,20 +54276,16 @@ (define-public rust-sha-1-0.9
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0w37j7swjkbzgi9mf7ihkw0zfik6vl97fs6jdpqs6r68hvm3c2hp"))))
+ (base32 "19jibp8l9k5v4dnhj5kfhaczdfd997h22qz0hin6pw9wvc9ngkcr"))))
(arguments
- `(#:cargo-inputs
- (("rust-block-buffer" ,rust-block-buffer-0.9)
- ("rust-cfg-if" ,rust-cfg-if-0.1)
- ("rust-cpuid-bool" ,rust-cpuid-bool-0.1)
- ("rust-digest" ,rust-digest-0.9)
- ("rust-libc" ,rust-libc-0.2)
- ("rust-opaque-debug" ,rust-opaque-debug-0.3)
- ("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))))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-block-buffer" ,rust-block-buffer-0.9)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-cpufeatures" ,rust-cpufeatures-0.2)
+ ("rust-digest" ,rust-digest-0.9)
+ ("rust-opaque-debug" ,rust-opaque-debug-0.3)
+ ("rust-sha1-asm" ,rust-sha1-asm-0.5))))))
(define-public rust-sha-1-0.8
(package
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:21
[PATCH 18/31] gnu: update rust-sha2-0.9 to 0.9.9.
(address . 53995@debbugs.gnu.org)
20220216012149.24258-9-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 23 ++++++++++-------------
1 file changed, 10 insertions(+), 13 deletions(-)

Toggle diff (44 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d789f0d8fc..75c6335b07 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -54468,7 +54468,7 @@ (define-public rust-sha2-0.9
(package
(inherit rust-sha2-0.10)
(name "rust-sha2")
- (version "0.9.5")
+ (version "0.9.9")
(source
(origin
(method url-fetch)
@@ -54476,19 +54476,16 @@ (define-public rust-sha2-0.9
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "04lzf4swq6cijvxnc6facr3g72h5v7a5z8lz3xrkf8gxa9bswqmk"))))
+ (base32 "006q2f0ar26xcjxqz8zsncfgz86zqa5dkwlwv03rhx1rpzhs2n2d"))))
(arguments
- `(#:cargo-inputs
- (("rust-block-buffer" ,rust-block-buffer-0.9)
- ("rust-cfg-if" ,rust-cfg-if-1)
- ("rust-cpufeatures" ,rust-cpufeatures-0.1)
- ("rust-digest" ,rust-digest-0.9)
- ("rust-opaque-debug" ,rust-opaque-debug-0.3)
- ("rust-sha2-asm" ,rust-sha2-asm-0.6))
- #:cargo-development-inputs
- (("rust-digest" ,rust-digest-0.9)
- ("rust-hex-literal" ,rust-hex-literal-0.2))))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-block-buffer" ,rust-block-buffer-0.9)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-cpufeatures" ,rust-cpufeatures-0.2)
+ ("rust-digest" ,rust-digest-0.9)
+ ("rust-opaque-debug" ,rust-opaque-debug-0.3)
+ ("rust-sha2-asm" ,rust-sha2-asm-0.6))))))
(define-public rust-sha2-0.8
(package
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:21
[PATCH 19/31] gnu: update rust-structopt-0.3 to 0.3.26.
(address . 53995@debbugs.gnu.org)
20220216012149.24258-10-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 75c6335b07..29218e2cd6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58101,7 +58101,7 @@ (define-public rust-strsim-0.5
(define-public rust-structopt-0.3
(package
(name "rust-structopt")
- (version "0.3.21")
+ (version "0.3.26")
(source
(origin
(method url-fetch)
@@ -58109,15 +58109,15 @@ (define-public rust-structopt-0.3
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "136j0lvjmpv5syi751vxg8vb30gfyv4k81x8d18kxrj6xvbsqxsj"))))
+ (base32 "043sg3qxllann6q9i71d05qp3q13scmcvhxhd950ka2v8ij5qsqc"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-structopt-derive" ,rust-structopt-derive-0.4)
- ("rust-lazy-static" ,rust-lazy-static-1)
- ("rust-clap" ,rust-clap-2))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-clap" ,rust-clap-2)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-paw" ,rust-paw-1)
+ ("rust-structopt-derive" ,rust-structopt-derive-0.4))))
(home-page "https://github.com/TeXitoi/structopt")
(synopsis "Parse command line argument by defining a struct")
(description
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:22
[PATCH 20/31] gnu: update rust-structopt-derive-0.4 to 0.4.18.
(address . 53995@debbugs.gnu.org)
20220216012305.24710-1-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 29218e2cd6..09ad2d5292 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58152,7 +58152,7 @@ (define-public rust-structopt-0.2
(define-public rust-structopt-derive-0.4
(package
(name "rust-structopt-derive")
- (version "0.4.14")
+ (version "0.4.18")
(source
(origin
(method url-fetch)
@@ -58160,8 +58160,7 @@ (define-public rust-structopt-derive-0.4
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "143gjwvz3s86hwp070km83y25n8kqp5f01kb1dr19f4ilkywvaav"))))
+ (base32 "1q5gcigmvw0cinjxzpyrkflliq5r1ivljmrvfrl3phcwgwraxdfw"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -58175,7 +58174,7 @@ (define-public rust-structopt-derive-0.4
(synopsis "Parse command line argument by defining a struct, derive crate")
(description
"This package provides the derive Rust crate for the structopt crate.")
- (license license:asl2.0)))
+ (license (list license:asl2.0 license:expat))))
(define-public rust-structopt-derive-0.2
(package
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:22
[PATCH 21/31] gnu: update rust-tempfile-3 to 3.3.0.
(address . 53995@debbugs.gnu.org)
20220216012305.24710-2-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)

Toggle diff (45 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 09ad2d5292..71e4f1a941 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60502,26 +60502,26 @@ (define-public rust-tempdir-0.3
(define-public rust-tempfile-3
(package
(name "rust-tempfile")
- (version "3.2.0")
+ (version "3.3.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "tempfile" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "08pbf3c1i42382dc44dil5bgiawcsi0qk6zdibw10f69rxiwdhfs"))))
+ (base32 "1r3rdp66f7w075mz6blh244syr3h0lbm07ippn7xrbgfxbs1xnsw"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-cfg-if" ,rust-cfg-if-1)
- ("rust-libc" ,rust-libc-0.2)
- ("rust-rand" ,rust-rand-0.8)
- ("rust-redox-syscall" ,rust-redox-syscall-0.2)
- ("rust-remove-dir-all" ,rust-remove-dir-all-0.5)
- ("rust-winapi" ,rust-winapi-0.3))))
- (home-page "https://stebalien.com/projects/tempfile-rs")
- (synopsis "Library for managing temporary files and directories")
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-fastrand" ,rust-fastrand-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-redox-syscall" ,rust-redox-syscall-0.2)
+ ("rust-remove-dir-all" ,rust-remove-dir-all-0.5)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "http://stebalien.com/projects/tempfile-rs")
+ (synopsis "A library for managing temporary files and directories.")
(description
"This package provides a library for managing temporary files and
directories.")
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:22
[PATCH 22/31] gnu: update rust-thiserror-1 to 1.0.30.
(address . 53995@debbugs.gnu.org)
20220216012305.24710-3-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 16 +++++-----------
1 file changed, 5 insertions(+), 11 deletions(-)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 71e4f1a941..75f16fb03d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -61212,7 +61212,7 @@ (define-public rust-thin-slice-0.1
(define-public rust-thiserror-1
(package
(name "rust-thiserror")
- (version "1.0.26")
+ (version "1.0.30")
(source
(origin
(method url-fetch)
@@ -61220,18 +61220,12 @@ (define-public rust-thiserror-1
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1qmz542pq4wmz3p0s4kavsqv09h0x99klkf3k33ydjy1x97rw4ck"))))
+ (base32 "05y4wm29ck8flwq5k1q6nhwh00a3b30cz3xr0qvnbwad5vjsnjw5"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-thiserror-impl" ,rust-thiserror-impl-1))
- #:cargo-development-inputs
- (("rust-anyhow" ,rust-anyhow-1)
- ("rust-ref-cast" ,rust-ref-cast-1)
- ("rust-rustversion" ,rust-rustversion-1)
- ("rust-trybuild" ,rust-trybuild-1))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-thiserror-impl" ,rust-thiserror-impl-1))))
(home-page "https://github.com/dtolnay/thiserror")
(synopsis "derive(Error)")
(description "This package provides @code{derive(Error)} in Rust.")
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:22
[PATCH 23/31] gnu: update rust-thiserror-impl-1 to 1.0.30.
(address . 53995@debbugs.gnu.org)
20220216012305.24710-4-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)

Toggle diff (25 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 75f16fb03d..c20c1293c6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -61234,7 +61234,7 @@ (define-public rust-thiserror-1
(define-public rust-thiserror-impl-1
(package
(name "rust-thiserror-impl")
- (version "1.0.26")
+ (version "1.0.30")
(source
(origin
(method url-fetch)
@@ -61242,8 +61242,7 @@ (define-public rust-thiserror-impl-1
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0ia72qiynlws5avb8f1xqlazp4g6bqgzjbwy5vs6nyg7myh6j386"))))
+ (base32 "0jviwmvx6wzawsj6c9msic7h419wmsbjagl9dzhpydkzc8zzscma"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:23
[PATCH 24/31] gnu: update rust-tokio-1 to 1.16.1.
(address . 53995@debbugs.gnu.org)
20220216012305.24710-5-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)

Toggle diff (31 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c20c1293c6..73ae1711b7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62090,21 +62090,19 @@ (define-public rust-titlecase-1
(define-public rust-tokio-1
(package
(name "rust-tokio")
- (version "1.15.0")
+ (version "1.16.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "tokio" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0f2qwp9ljc4gf955g7qcksp0jc1bwmzxb2nf6mb7h1n2irvirgzv"))))
+ (base32 "02pwb89x5lixdpfpxjdmngqwq782jfx1cxy5x04x7rjxc95sc9qc"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-autocfg" ,rust-autocfg-1)
- ("rust-bytes" ,rust-bytes-1)
+ (("rust-bytes" ,rust-bytes-1)
("rust-libc" ,rust-libc-0.2)
("rust-memchr" ,rust-memchr-2)
("rust-mio" ,rust-mio-0.7)
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:23
[PATCH 25/31] gnu: update rust-tokio-rustls-0.22 to 0.23.2.
(address . 53995@debbugs.gnu.org)
20220216012305.24710-6-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)

Toggle diff (82 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 73ae1711b7..96ba549fb2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -63039,10 +63039,10 @@ (define-public rust-tokio-reactor-0.1
"Event loop that drives Tokio I/O resources.")
(license license:expat)))
-(define-public rust-tokio-rustls-0.22
+(define-public rust-tokio-rustls-0.23
(package
(name "rust-tokio-rustls")
- (version "0.22.0")
+ (version "0.23.2")
(source
(origin
(method url-fetch)
@@ -63050,14 +63050,14 @@ (define-public rust-tokio-rustls-0.22
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1dp1s2kai081f3fn9gjq92x2lw7lm7iqpcsl02cg2zg5fbg48s5w"))))
+ (base32 "06y1w47i6pd6w9mrf5ylik0bj22s1x9v06gscy1bs0lqhcmmyzd2"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-rustls" ,rust-rustls-0.19)
+ (("rust-rustls" ,rust-rustls-0.20)
("rust-tokio" ,rust-tokio-1)
- ("rust-webpki" ,rust-webpki-0.21))))
+ ("rust-webpki" ,rust-webpki-0.22))))
(home-page "https://github.com/tokio-rs/tls")
(synopsis "Asynchronous TLS/SSL streams for Tokio")
(description
@@ -63067,7 +63067,7 @@ (define-public rust-tokio-rustls-0.22
(define-public rust-tokio-rustls-0.14
(package
- (inherit rust-tokio-rustls-0.22)
+ (inherit rust-tokio-rustls-0.23)
(name "rust-tokio-rustls")
(version "0.14.1")
(source
@@ -63985,7 +63985,7 @@ (define-public rust-tonic-0.6
("rust-prost-derive" ,rust-prost-derive-0.9)
("rust-rustls-native-certs" ,rust-rustls-native-certs-0.5)
("rust-tokio" ,rust-tokio-1)
- ("rust-tokio-rustls" ,rust-tokio-rustls-0.22)
+ ("rust-tokio-rustls" ,rust-tokio-rustls-0.23)
("rust-tokio-stream" ,rust-tokio-stream-0.1)
("rust-tokio-util" ,rust-tokio-util-0.6)
("rust-tower" ,rust-tower-0.4)
@@ -64781,7 +64781,7 @@ (define-public rust-trust-dns-https-0.20
("rust-rustls" ,rust-rustls-0.19)
("rust-thiserror" ,rust-thiserror-1)
("rust-tokio" ,rust-tokio-1)
- ("rust-tokio-rustls" ,rust-tokio-rustls-0.22)
+ ("rust-tokio-rustls" ,rust-tokio-rustls-0.23)
("rust-trust-dns-proto" ,rust-trust-dns-proto-0.20)
("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.20)
("rust-webpki" ,rust-webpki-0.21)
@@ -65289,7 +65289,7 @@ (define-public rust-trust-dns-resolver-0.20
("rust-tokio" ,rust-tokio-1)
("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3)
("rust-tokio-openssl" ,rust-tokio-openssl-0.6)
- ("rust-tokio-rustls" ,rust-tokio-rustls-0.22)
+ ("rust-tokio-rustls" ,rust-tokio-rustls-0.23)
("rust-trust-dns-https" ,rust-trust-dns-https-0.20)
("rust-trust-dns-native-tls" ,rust-trust-dns-native-tls-0.20)
("rust-trust-dns-openssl" ,rust-trust-dns-openssl-0.20)
@@ -65442,7 +65442,7 @@ (define-public rust-trust-dns-rustls-0.20
("rust-log" ,rust-log-0.4)
("rust-rustls" ,rust-rustls-0.19)
("rust-tokio" ,rust-tokio-1)
- ("rust-tokio-rustls" ,rust-tokio-rustls-0.22)
+ ("rust-tokio-rustls" ,rust-tokio-rustls-0.23)
("rust-trust-dns-proto" ,rust-trust-dns-proto-0.20)
("rust-webpki" ,rust-webpki-0.21))))
(home-page "http://www.trust-dns.org/index.html")
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:23
[PATCH 26/31] gnu: update rust-tracing-0.1 to 0.1.30.
(address . 53995@debbugs.gnu.org)
20220216012305.24710-7-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 96ba549fb2..90edf6b720 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64166,28 +64166,23 @@ (define-public rust-tower-util-0.3
(define-public rust-tracing-0.1
(package
(name "rust-tracing")
- (version "0.1.23")
+ (version "0.1.30")
(source
(origin
(method url-fetch)
(uri (crate-uri "tracing" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1ww7akgck54yc9a2yrl7qnvqpqgwiz6ab2cd1lq377h2zli0mm7p"))))
+ (base32 "1faza94zaf6cwd3fmrwj6bq2xz538wpaxxakb46yba729wsr739d"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
+ `(#:skip-build? #t
+ #:cargo-inputs
(("rust-cfg-if" ,rust-cfg-if-1)
("rust-log" ,rust-log-0.4)
("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
("rust-tracing-attributes" ,rust-tracing-attributes-0.1)
- ("rust-tracing-core" ,rust-tracing-core-0.1))
- #:cargo-development-inputs
- (("rust-criterion" ,rust-criterion-0.3)
- ("rust-futures" ,rust-futures-0.1)
- ("rust-log" ,rust-log-0.4)
- ("rust-tokio" ,rust-tokio-0.2)
- ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+ ("rust-tracing-core" ,rust-tracing-core-0.1))))
(home-page "https://tokio.rs")
(synopsis "Application-level tracing for Rust")
(description "@code{rust-tracing} is a framework for instrumenting Rust
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:23
[PATCH 27/31] gnu: update rust-tracing-attributes-0.1 to 0.1.19.
(address . 53995@debbugs.gnu.org)
20220216012305.24710-8-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 16 +++++-----------
1 file changed, 5 insertions(+), 11 deletions(-)

Toggle diff (39 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 90edf6b720..e63a185ede 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64192,27 +64192,21 @@ (define-public rust-tracing-0.1
(define-public rust-tracing-attributes-0.1
(package
(name "rust-tracing-attributes")
- (version "0.1.12")
+ (version "0.1.19")
(source
(origin
(method url-fetch)
(uri (crate-uri "tracing-attributes" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0iwzcbcrkyn7bnhdnzp4lanw3md2dx15jr3nyi7881s1gvm81w23"))))
+ (base32 "05m7wxidfsx3mnvi8adq8532cn1xnm8as0skmnvxfn55lfjdjxl2"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
+ `(#:skip-build? #t
+ #:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))
- #:cargo-development-inputs
- (("rust-async-trait" ,rust-async-trait-0.1)
- ("rust-tokio-test" ,rust-tokio-test-0.2)
- ("rust-tracing" ,rust-tracing-0.1)
- ("rust-tracing-core" ,rust-tracing-core-0.1)
- ("rust-tracing-futures" ,rust-tracing-futures-0.2))))
+ ("rust-syn" ,rust-syn-1))))
(home-page "https://tokio.rs")
(synopsis "Automatically instrument functions")
(description "This package provides procedural macro attributes for
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:23
[PATCH 29/31] gnu: add rust-valuable-derive-0.1.
(address . 53995@debbugs.gnu.org)
20220216012305.24710-10-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (39 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7c9eea2ec6..a28851e1d8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -67421,6 +67421,32 @@ (define-public rust-v-frame-0.2
a part of rav1e.")
(license license:bsd-2)))
+(define-public rust-valuable-derive-0.1
+ (package
+ (name "rust-valuable-derive")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "valuable-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0cjvqljzsj891cjzlwv0ihrv4m0n5211a6pr6b7cz42ich66ji4x"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/tokio-rs/valuable")
+ (synopsis "Macros for the `valuable` crate.")
+ (description "This package provides macros for the `valuable` crate. This
+crate provides object-safe value inspection. Use cases include passing
+structured data to trait objects and object-safe serialization.")
+ (license license:expat)))
+
(define-public rust-value-bag-1
(package
(name "rust-value-bag")
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:23
[PATCH 28/31] gnu: update rust-tracing-core-0.1 to 0.1.22.
(address . 53995@debbugs.gnu.org)
20220216012305.24710-9-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

Toggle diff (31 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e63a185ede..7c9eea2ec6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64216,18 +64216,20 @@ (define-public rust-tracing-attributes-0.1
(define-public rust-tracing-core-0.1
(package
(name "rust-tracing-core")
- (version "0.1.21")
+ (version "0.1.22")
(source
(origin
(method url-fetch)
(uri (crate-uri "tracing-core" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1r262wskhm6wmc5i2bxz44nglyzqaq3x50s0h5q0ffdq6xbdckhz"))))
+ (base32 "08wssa1n70vg02nfw6ykfzjhind88ws8vjqi64nsfch6718wpkq3"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-lazy-static" ,rust-lazy-static-1))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-valuable" ,rust-valuable-0.1))))
(home-page "https://tokio.rs")
(synopsis "Core primitives for application-level tracing")
(description
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:23
[PATCH 30/31] gnu: add rust-valuable-0.1.
(address . 53995@debbugs.gnu.org)
20220216012357.25072-1-ngraves@ngraves.fr
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (39 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a28851e1d8..a5c9a65f86 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -67447,6 +67447,32 @@ (define-public rust-valuable-derive-0.1
structured data to trait objects and object-safe serialization.")
(license license:expat)))
+(define-public rust-valuable-0.1
+ (package
+ (name "rust-valuable")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "valuable" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0v9gp3nkjbl30z0fd56d8mx7w1csk86wwjhfjhr400wh9mfpw2w3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-valuable-derive" ,rust-valuable-derive-0.1))))
+ (home-page "https://github.com/tokio-rs/valuable")
+ (synopsis
+ "Object-safe value inspection, used to pass un-typed structured data
+across trait-object boundaries.")
+ (description "This package provides object-safe value inspection. Use
+cases include passing structured data to trait objects and object-safe
+serialization.")
+ (license license:expat)))
+
(define-public rust-value-bag-1
(package
(name "rust-value-bag")
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:24
[PATCH 31/31] gnu: update rbw to 1.4.3.
(address . 53995@debbugs.gnu.org)
20220216012409.25220-1-ngraves@ngraves.fr
---
gnu/packages/rust-apps.scm | 107 ++++++++++++++++++-------------------
1 file changed, 51 insertions(+), 56 deletions(-)

Toggle diff (128 lines)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 5b27bf3647..f8d6dcc1ce 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -1297,70 +1297,65 @@ (define-public watchexec
(define-public rbw
(package
(name "rbw")
- (version "1.4.1")
+ (version "1.4.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "rbw" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0zszp9hvilpikbd66b5zbvspks0spv8dh0yry0sxnc5yqvl2ixnf"))))
+ (base32 "1177jjf3rksbi3rjw9215fkg1am3i6ph1wssf8svkd3in0sxqrhf"))))
(build-system cargo-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'configure 'relax-requirements
- (lambda _
- (substitute*
- "guix-vendor/rust-password-hash-0.3.2.tar.gz/Cargo.toml"
- (("version = \">=1, <1.1.0\"") "version = \">=1\""))
- (substitute*
- "guix-vendor/rust-rsa-0.5.0.tar.gz/Cargo.toml"
- (("version = \">=1, <1.5\"") "version = \"^1\""))
- (substitute*
- "Cargo.toml"
- (("version = \"1.4\"") "version = \"^1\"")))))
- #:cargo-inputs
- (("rust-aes" ,rust-aes-0.7)
- ("rust-anyhow" ,rust-anyhow-1)
- ("rust-arrayvec" ,rust-arrayvec-0.7)
- ("rust-async-trait" ,rust-async-trait-0.1)
- ("rust-base32" ,rust-base32-0.4)
- ("rust-base64" ,rust-base64-0.13)
- ("rust-block-modes" ,rust-block-modes-0.8)
- ("rust-block-padding" ,rust-block-padding-0.2)
- ("rust-daemonize" ,rust-daemonize-0.4)
- ("rust-directories" ,rust-directories-4)
- ("rust-env-logger" ,rust-env-logger-0.9)
- ("rust-hkdf" ,rust-hkdf-0.11)
- ("rust-hmac" ,rust-hmac-0.11)
- ("rust-humantime" ,rust-humantime-2)
- ("rust-libc" ,rust-libc-0.2)
- ("rust-log" ,rust-log-0.4)
- ("rust-nix" ,rust-nix-0.23)
- ("rust-paw" ,rust-paw-1)
- ("rust-pbkdf2" ,rust-pbkdf2-0.9)
- ("rust-percent-encoding" ,rust-percent-encoding-2)
- ("rust-rand" ,rust-rand-0.8)
- ("rust-region" ,rust-region-3)
- ("rust-reqwest" ,rust-reqwest-0.11)
- ("rust-rsa" ,rust-rsa-0.5)
- ("rust-serde" ,rust-serde-1)
- ("rust-serde-json" ,rust-serde-json-1)
- ("rust-serde-path-to-error" ,rust-serde-path-to-error-0.1)
- ("rust-serde-repr" ,rust-serde-repr-0.1)
- ("rust-sha-1" ,rust-sha-1-0.9)
- ("rust-sha2" ,rust-sha2-0.9)
- ("rust-structopt" ,rust-structopt-0.3)
- ("rust-tempfile" ,rust-tempfile-3)
- ("rust-term-size" ,rust-term-size-0.3)
- ("rust-textwrap" ,rust-textwrap-0.11)
- ("rust-thiserror" ,rust-thiserror-1)
- ("rust-tokio" ,rust-tokio-1)
- ("rust-totp-lite" ,rust-totp-lite-1)
- ("rust-url" ,rust-url-2)
- ("rust-uuid" ,rust-uuid-0.8)
- ("rust-zeroize" ,rust-zeroize-1))))
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'configure 'relax-requirements
+ (lambda _
+ (substitute*
+ "guix-vendor/rust-rsa-0.5.0.tar.gz/Cargo.toml"
+ (("version = \">=1, <1.5\"") "version = \"^1\""))
+ )))
+ #:cargo-inputs
+ (("rust-aes" ,rust-aes-0.7)
+ ("rust-anyhow" ,rust-anyhow-1)
+ ("rust-arrayvec" ,rust-arrayvec-0.7)
+ ("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-base32" ,rust-base32-0.4)
+ ("rust-base64" ,rust-base64-0.13)
+ ("rust-block-modes" ,rust-block-modes-0.8)
+ ("rust-block-padding" ,rust-block-padding-0.2)
+ ("rust-daemonize" ,rust-daemonize-0.4)
+ ("rust-directories" ,rust-directories-4)
+ ("rust-env-logger" ,rust-env-logger-0.9)
+ ("rust-hkdf" ,rust-hkdf-0.11)
+ ("rust-hmac" ,rust-hmac-0.11)
+ ("rust-humantime" ,rust-humantime-2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-nix" ,rust-nix-0.23)
+ ("rust-paw" ,rust-paw-1)
+ ("rust-pbkdf2" ,rust-pbkdf2-0.9)
+ ("rust-percent-encoding" ,rust-percent-encoding-2)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-region" ,rust-region-3)
+ ("rust-reqwest" ,rust-reqwest-0.11)
+ ("rust-rsa" ,rust-rsa-0.5)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-path-to-error" ,rust-serde-path-to-error-0.1)
+ ("rust-serde-repr" ,rust-serde-repr-0.1)
+ ("rust-sha-1" ,rust-sha-1-0.9)
+ ("rust-sha2" ,rust-sha2-0.9)
+ ("rust-structopt" ,rust-structopt-0.3)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-term-size" ,rust-term-size-0.3)
+ ("rust-textwrap" ,rust-textwrap-0.11)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-totp-lite" ,rust-totp-lite-1)
+ ("rust-url" ,rust-url-2)
+ ("rust-uuid" ,rust-uuid-0.8)
+ ("rust-zeroize" ,rust-zeroize-1))))
(home-page "https://git.tozt.net/rbw")
(synopsis "Unofficial Bitwarden CLI")
(description "This package is an unofficial command line client for
--
2.34.0
N
N
Nicolas Graves wrote on 16 Feb 2022 02:25
Re: [bug#53995] [PATCH] gnu: rbw: Update to 1.4.3
(name . Maxime Devos)(address . maximedevos@telenet.be)(address . 53995@debbugs.gnu.org)
87o8371tt8.fsf@ngraves.fr
Maxime Devos <maximedevos@telenet.be> writes:

Toggle quote (5 lines)
> The total size of the changes remains the same, so splitting patches
> does not make things ‘too much’ anymore than the original patch would
> be ‘too much’. Splitting patches makes it easier to respond to
> individual parts.

Sorry, I got confused, didn't fully understand N. Goaziou's answer last
time.

Toggle quote (10 lines)
>
> Also, a commit message was missing. Additionally, I recommend setting
> the "--base" option of "git format-patch/git send-email" to help with
> rebasing.
>
> Greetings,
> Maxime.
>
> [[End of PGP Signed Part]]

Is everything OK with newly submitted patches ?

Cheers,

Nicolas
M
M
Maxime Devos wrote on 16 Feb 2022 08:56
Re: [PATCH 01/31] gnu: update rust-anyhow to 1.0.53.
8c3bdcef6f4c32e329847a816fbff3578ae1b5b8.camel@telenet.be
Nicolas Graves schreef op wo 16-02-2022 om 02:08 [+0100]:
Toggle quote (6 lines)
> -     `(#:cargo-development-inputs
> -       (("rust-futures" ,rust-futures-0.3)
> -        ("rust-rustversion" ,rust-rustversion-1)
> -        ("rust-thiserror" ,rust-thiserror-1)
> -        ("rust-trybuild" ,rust-trybuild-1))))

Looking at 'cargo.toml', anyhow still has these ‘development inputs’.
What's the reason for removing them?

Toggle quote (2 lines)
> + `(#:skip-build? #t

This prevents doing "guix build rust-anyhow" to test if 'rust-anyhow'
still builds. What's the reason for this change?

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYgyuPBccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7o54AQCOOwr1aXnA+92asDwLK3G+wi9m
9AtfQuZsuJN3Jos/mgEA/hgDElFRpsABI0Z4fZJiBIeg6yC+VEGxacdo+TcrCww=
=Iqqv
-----END PGP SIGNATURE-----


N
N
Nicolas Graves wrote on 16 Feb 2022 09:08
(name . Maxime Devos)(address . maximedevos@telenet.be)(address . 53995@debbugs.gnu.org)
87h78zb53h.fsf@ngraves.fr
Maxime Devos <maximedevos@telenet.be> writes:

Toggle quote (16 lines)
> [[PGP Signed Part:Undecided]]
> Nicolas Graves schreef op wo 16-02-2022 om 02:08 [+0100]:
>> -     `(#:cargo-development-inputs
>> -       (("rust-futures" ,rust-futures-0.3)
>> -        ("rust-rustversion" ,rust-rustversion-1)
>> -        ("rust-thiserror" ,rust-thiserror-1)
>> -        ("rust-trybuild" ,rust-trybuild-1))))
>
> Looking at 'cargo.toml', anyhow still has these ‘development inputs’.
> What's the reason for removing them?
>
>> + `(#:skip-build? #t
>
> This prevents doing "guix build rust-anyhow" to test if 'rust-anyhow'
> still builds. What's the reason for this change?

When I import from guix import crate and get a skip-build, each time I
tried removing it caused the build to fail, because of nightly
features. I assumed it was the case in general, haven't tried it there.

No reason for removing cargo-develpment-inputs, I may have assumed that
skipping the build removed the need for them, but it seems not to be the
case.
Toggle quote (5 lines)
>
> Greetings,
> Maxime.
>
> [[End of PGP Signed Part]]
M
M
Maxime Devos wrote on 16 Feb 2022 12:08
(name . Nicolas Graves)(address . ngraves@ngraves.fr)(address . 53995@debbugs.gnu.org)
b9a4114ebabf84b3babca2ddaa91a6a791792bff.camel@telenet.be
Nicolas Graves schreef op wo 16-02-2022 om 09:08 [+0100]:
Toggle quote (4 lines)
> When I import from guix import crate and get a skip-build, each time I
> tried removing it caused the build to fail, because of nightly
> features. I assumed it was the case in general, haven't tried it there.

In this case, this does not seem to be the case, the following builds
(guix build -f):

(use-modules (guix packages) (gnu packages crates-io)
(guix build-system cargo) (guix download))

;; otherwise 'rust-anyhow@1.0.54' fails to build because the version
;; of 'rust-rustversion' currently in Guix is too old.
(set! rust-rustversion-1
(package
(inherit rust-rustversion-1)
(version "1.0.6")
(source
(origin
(method url-fetch)
(uri (crate-uri "rustversion" version))
(file-name (string-append "rust-rustversion" "-" version
".tar.gz"))
(sha256
(base32
"0gxj6skypbk0wlbks3pdqb0lclpwbzmyv9xbqkijsvk6zbl3ik7j"))))))

(package
(inherit rust-anyhow-1)
(version "1.0.53")
(source
(origin
(inherit (package-source rust-anyhow-1))
(uri (crate-uri "anyhow" version))
(file-name
(string-append "rust-anyhow" "-" version ".tar.gz"))
(sha256
(base32
"1q06xg4jn4lpad7lj1af28x5xdwymgl1k820zj2nnrhlbi2mp94l")))))
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYgzbHhccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7u0GAQDg7v25EI87Qy1AveWijaWdu2xF
wBcNCzSZkpweBTWnGgEA5ntHW9Dp26isEgV8mEaLoIfTfT32vEKWSbUT8NhA6AU=
=AOnZ
-----END PGP SIGNATURE-----


M
M
Maxime Devos wrote on 16 Feb 2022 12:14
Re: [PATCH 03/31] gnu: update rust-async-trait to 0.1.52.
5cff8cf6c376979a0fe970eac958f63e3987a536.camel@telenet.be
Nicolas Graves schreef op wo 16-02-2022 om 02:13 [+0100]:
Toggle quote (16 lines)
> -     `(#:cargo-inputs
> -       (("rust-proc-macro2" ,rust-proc-macro2-1)
> -        ("rust-quote" ,rust-quote-1)
> -        ("rust-syn" ,rust-syn-1))
> -       #:cargo-development-inputs
> -       (("rust-rustversion" ,rust-rustversion-1)
> -        ("rust-tracing" ,rust-tracing-0.1)
> -        ("rust-tracing-attributes" ,rust-tracing-attributes-0.1)
> -        ("rust-tracing-futures" ,rust-tracing-futures-0.2)
> -        ("rust-trybuild" ,rust-trybuild-1))))
> +      `(#:skip-build? #t
> +        #:cargo-inputs
> +        (("rust-proc-macro2" ,rust-proc-macro2-1)
> +         ("rust-quote" ,rust-quote-1)
> +         ("rust-syn" ,rust-syn-1))))

To reduce diffs, could indentation changes be left out or be done in a
separate patch? That would make it much faster to identify what
actually changed.

My comments about rust-anyhow's #:cargo-development-inputs and #:skip-
build apply here as well (and to a lot of other updates).

Greetings,
Maxime
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYgzcexccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7tgXAP9tpobg/Uq9z7F87U1VFjSsboho
tCZzyraPiSSqxkBBBQEAjZWyubN6QUARhCgFqzwWk4q93dBi1cujUKw0UBoUDAg=
=rITv
-----END PGP SIGNATURE-----


M
M
Maxime Devos wrote on 16 Feb 2022 12:16
Re: [PATCH 31/31] gnu: update rbw to 1.4.3.
9b959752e0f2907d9c5a6de6a10aa76fa757f39b.camel@telenet.be
Nicolas Graves schreef op wo 16-02-2022 om 02:24 [+0100]:
Toggle quote (7 lines)
> +          (add-after 'configure 'relax-requirements
> +            (lambda _
> +              (substitute*
> +                  "guix-vendor/rust-rsa-0.5.0.tar.gz/Cargo.toml"
> +                (("version = \">=1, <1.5\"") "version = \"^1\""))
> +              )))

Wouldn't this be a problem of the 'rust-rsa' package? I would move
this version relaxing to the 'rust-rsa' package, such that all
dependents of rust-rsa can benefit.

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYgzdIxccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7u9FAP9y03H9Hezui5AAdE/bD8qSUnde
osM7R9GdvprnMxugIAD/UH1C4D2gKHoVBT1AeOLbhRUD+QaL80dR7klgSp2+kQs=
=MkuW
-----END PGP SIGNATURE-----


M
M
Maxime Devos wrote on 16 Feb 2022 12:17
Re: [PATCH 29/31] gnu: add rust-valuable-derive-0.1.
925da77ace3a8bce4d58d62955240a99b4be7bbe.camel@telenet.be
Nicolas Graves schreef op wo 16-02-2022 om 02:23 [+0100]:
Toggle quote (3 lines)
> +    (synopsis "Macros for the `valuable` crate.")
> +    (description "This package provides macros for the `valuable` crate. This

`foo` is Markdown, not TeXinfo markup. Perhaps use @code{...} or
@samp{...} instead (not sure which exactly).

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYgzdXhccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7sB6AQDs0pHL9cstYdSQde3An5fe3Gtv
bP205CjGxIxmC/jGPQD+KUKtJkuIcTpzSWrzuBZiMOqqx3mjHUvP6eiENv0lXQE=
=dbTY
-----END PGP SIGNATURE-----


M
M
Maxime Devos wrote on 16 Feb 2022 12:18
ceabb879cfb1f817760e1f384a20a210bcfe531a.camel@telenet.be
Nicolas Graves schreef op wo 16-02-2022 om 02:23 [+0100]:
Toggle quote (3 lines)
> +     `(#:skip-build?
> +       #t

Is this necessary? From (guix)Rust Crates:

Care should be taken to ensure the correct version of dependencies
are used; to this end we try to refrain from skipping the tests or
using ‘#:skip-build?’ when possible.

with caveat:

Of course this is not always possible, as the package may be
developed for a different Operating System, depend on features from the
Nightly Rust compiler, or the test suite may have atrophied since it
was released.


Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYgzdlRccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7mIkAQC9SZRvPGLRgK2eZ1s+xIJ3MHG/
v3tFV3RzAL9IHGP1SAD/Qih+nRhMBG0wIlffz2aNTkPCtt7BppRe8p35XmYUbgg=
=5j1z
-----END PGP SIGNATURE-----


N
N
Nicolas Graves wrote on 15 Mar 2022 14:26
Re: [PATCH 31/31] gnu: update rbw to 1.4.3.
(name . Maxime Devos)(address . maximedevos@telenet.be)(address . 53995@debbugs.gnu.org)
87bky78htb.fsf@ngraves.fr
Sorry for the late answer.

I don't think that necessarily applies to every package dependent on
rust-rsa, I would rather keep it this way. But I'm not confident
to defend it, still junior in guix usage.

Is everything OK with the new batch of patches ?

Cheers,

Nicolas


Maxime Devos <maximedevos@telenet.be> writes:

Toggle quote (17 lines)
> [[PGP Signed Part:Undecided]]
> Nicolas Graves schreef op wo 16-02-2022 om 02:24 [+0100]:
>> +          (add-after 'configure 'relax-requirements
>> +            (lambda _
>> +              (substitute*
>> +                  "guix-vendor/rust-rsa-0.5.0.tar.gz/Cargo.toml"
>> +                (("version = \">=1, <1.5\"") "version = \"^1\""))
>> +              )))
>
> Wouldn't this be a problem of the 'rust-rsa' package? I would move
> this version relaxing to the 'rust-rsa' package, such that all
> dependents of rust-rsa can benefit.
>
> Greetings,
> Maxime.
>
> [[End of PGP Signed Part]]
M
M
Maxime Devos wrote on 15 Mar 2022 17:25
(name . Nicolas Graves)(address . ngraves@ngraves.fr)(address . 53995@debbugs.gnu.org)
cf9bfdac32b3822900c5feceb9820984a29718c3.camel@telenet.be
Nicolas Graves schreef op di 15-03-2022 om 14:26 [+0100]:
Toggle quote (7 lines)
> > Wouldn't this be a problem of the 'rust-rsa' package? I would move
> > this version relaxing to the 'rust-rsa' package, such that all
> > dependents of rust-rsa can benefit.
>
> I don't think that necessarily applies to every package dependent on
> rust-rsa, I would rather keep it this way.

Some remarks:

* while cargo-build-system creates a "guix-vendor" directory,
this seems an implementation detail to me, maybe one day it will
switch to a {CROSS_,}LIBRARY_PATH system like gcc uses.

* IIUC it does necessarily apply to every package dependent on
rust-rsa, at least those using #:cargo-inputs
/ #:cargo-development-inputs.

Empirically: I searched for "rust-rsa" in the source code of Guix.
Its only user 'rbw' apparently copies the 'substitute*'.

Theoretically: suppose a package rust-foo depends on rust-rsa (and
for simplicity, assume that rust-rsa is its only dependency), via
#:cargo-inputs / #:cargo-development-inputs.

Then currently, rust-rsa builds because of its 'relax-requirements'
phase, but IIUC, this is forgotten when 'rust-foo' is being built,
because 'expand-crate-sources' in (guix build-system cargo) just
looks at the 'source' field of 'rust-rsa' and not the build result,
so the build of rust-foo would fail (unverified).

* even if it's not necessary for all dependents, but only for, say,
20%, it seems more convenient to me to only have to do the
substitute* in a single location (i.e., rust-rsa). An additional
benefit is that, if the version requirements change at some point
in the future, then the 'substitute*' only has to be adjusted in a
single place.

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYjC9/BccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7qCgAQDvbtwuUayrlbu+01zcgDFMlGkX
9XLjdRYGJdefofznSQEAiHwSTPIfH9XrQkwt7UX8OzX9Crd/QOPEGVXMM9qFdQc=
=1WXG
-----END PGP SIGNATURE-----


M
M
Maxime Devos wrote on 18 Jun 2022 22:30
Re: [PATCH 02/31] gnu: update rust-arrayvec to 0.7.2.
697fb0527b6bbc81f42230b19f72b8050601c781.camel@telenet.be
Nicolas Graves schreef op wo 16-02-2022 om 02:12 [+0100]:
Toggle quote (4 lines)
> -       (("rust-bencher" ,rust-bencher-0.1)
> -        ("rust-matches" ,rust-matches-0.1)
> -        ("rust-serde-test" ,rust-serde-test-1))))

Why are they removed? Looking at
they are still required for tests.

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYq41zBccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7phPAQD0XHvF6fAsXBFXEvLlj/tRloll
7sejEWyWru+HYGfxlwEAoXx4aQI5VdtrwDHjrDau7K5/d6lVBOdGiBWYuFtZngI=
=ImVF
-----END PGP SIGNATURE-----


N
N
Nicolas Graves wrote on 29 Sep 2022 15:03
Re: [PATCH 31/31] gnu: update rbw to 1.4.3.
87wn9mz624.fsf@ngraves.fr
done trick error

--
Best regards,
Nicolas Graves
Closed
T
T
Tyler Wolf wrote on 28 May 2023 19:47
(no subject)
(address . control@debbugs.gnu.org)
87sfbgbb6g.fsf@posteo.net
unarchive 53995
T
T
Tyler Wolf wrote on 28 May 2023 19:52
(address . 53995@debbugs.gnu.org)
87jzwsbay3.fsf@posteo.net
Hi, I noticed that rbw is still on 1.4.1 (no longer usable). Is this
still an issue with rust-rsa, as it seems to build fine for me so if
that is the only issue does that mean the new rbw can be patched, or
is there something else.


Thanks!
?