[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
85/469: gnu: Add rust-clap-derive-4.
From: |
guix-commits |
Subject: |
85/469: gnu: Add rust-clap-derive-4. |
Date: |
Tue, 25 Apr 2023 15:02:17 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit cf6a36684b2c40e32e5c2afa10c5595892fdfde7
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 12:14:17 2023 +0200
gnu: Add rust-clap-derive-4.
* gnu/packages/crates-io.scm (rust-clap-derive-4): New variable.
(rust-clap-derive-3): Inherit from rust-clap-derive-4.
---
gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++-------
1 file changed, 27 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 54ecd9d7f8..eb4c0a7fe1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11031,24 +11031,22 @@ files and environment variables. And make it easier
for users to tell your prog
how to behave across the three main input sources")
(license license:expat)))
-(define-public rust-clap-derive-3
+(define-public rust-clap-derive-4
(package
(name "rust-clap-derive")
- (version "3.2.18")
+ (version "4.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "clap_derive" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0r9az0cl33xx0i9g18l56l3vd5ayjvcflvza2gdf8jwcab78n37a"))))
+ (base32 "1s4c4005xsdw5zlq8z5h02mgjcsqgcd1ydxg6iird49fcxyjfjk8"))))
(build-system cargo-build-system)
(arguments
- (list #:skip-build? #t
- #:cargo-inputs
+ (list #:cargo-inputs
`(("rust-heck" ,rust-heck-0.4)
- ("rust-proc-macro-error"
- ,rust-proc-macro-error-1)
+ ("rust-proc-macro-error" ,rust-proc-macro-error-1)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))
@@ -11058,6 +11056,28 @@ how to behave across the three main input sources")
"This package provides the procedural macro crate for Clap.")
(license (list license:expat license:asl2.0))))
+(define-public rust-clap-derive-3
+ (package
+ (inherit rust-clap-derive-4)
+ (name "rust-clap-derive")
+ (version "3.2.18")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "clap_derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0r9az0cl33xx0i9g18l56l3vd5ayjvcflvza2gdf8jwcab78n37a"))))
+ (arguments
+ (list #:skip-build? #t
+ #:cargo-inputs
+ `(("rust-heck" ,rust-heck-0.4)
+ ("rust-proc-macro-error"
+ ,rust-proc-macro-error-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))))
+
(define-public rust-clap-3
(package
(name "rust-clap")
- 31/469: gnu: Add rust-concolor-query-0.1., (continued)
- 31/469: gnu: Add rust-concolor-query-0.1., guix-commits, 2023/04/25
- 32/469: gnu: Add rust-cookie-0.16., guix-commits, 2023/04/25
- 36/469: gnu: Add rust-ctr-0.9., guix-commits, 2023/04/25
- 39/469: gnu: rust-document-features-0.2: Update to 0.2.7., guix-commits, 2023/04/25
- 49/469: gnu: Add rust-include-dir-macros-0.7., guix-commits, 2023/04/25
- 54/469: gnu: rust-native-tls-0.2: Update to 0.2.11., guix-commits, 2023/04/25
- 60/469: gnu: rust-rustls-0.20: Update to 0.20.8., guix-commits, 2023/04/25
- 77/469: gnu: Add rust-trust-dns-resolver-0.22., guix-commits, 2023/04/25
- 80/469: gnu: Add rust-winreg-0.10., guix-commits, 2023/04/25
- 84/469: gnu: rust-cargo-c: Update to 0.9.16., guix-commits, 2023/04/25
- 85/469: gnu: Add rust-clap-derive-4.,
guix-commits <=
- 45/469: gnu: rust-h2-0.3: Update to 0.3.15., guix-commits, 2023/04/25
- 62/469: gnu: rust-rkyv-derive-0.7: Remove commented argument., guix-commits, 2023/04/25
- 67/469: gnu: Add rust-test-cert-gen-0.7., guix-commits, 2023/04/25
- 71/469: gnu: Add rust-toml-0.6., guix-commits, 2023/04/25
- 74/469: gnu: Add rust-toml-test-data-1., guix-commits, 2023/04/25
- 76/469: gnu: Add rust-trust-dns-proto-0.22., guix-commits, 2023/04/25
- 83/469: gnu: Add rust-windows-sys-0.45., guix-commits, 2023/04/25
- 87/469: gnu: Add rust-yasna-0.4., guix-commits, 2023/04/25
- 91/469: gnu: Add rust-toml-edit-0.18., guix-commits, 2023/04/25
- 66/469: gnu: rust-tar-0.4: Update to 0.4.38., guix-commits, 2023/04/25