[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
86/469: gnu: Add rust-clap-4.
From: |
guix-commits |
Subject: |
86/469: gnu: Add rust-clap-4. |
Date: |
Tue, 25 Apr 2023 15:02:17 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 0db63d7871fa4cfc8459cebc1f2fc14e70bcdd7d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 12:14:52 2023 +0200
gnu: Add rust-clap-4.
* gnu/packages/crates-io.scm (rust-clap-4): New variable.
(rust-clap-3): Inherit from rust-clap-4.
---
gnu/packages/crates-io.scm | 56 +++++++++++++++++++++++++++++++++++++++-------
1 file changed, 48 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eb4c0a7fe1..baba7cc364 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11078,8 +11078,55 @@ how to behave across the three main input sources")
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
+(define-public rust-clap-4
+ (package
+ (name "rust-clap")
+ (version "4.1.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "clap" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qzmsg3j2rch16gbh753hsdgvfv6q4vc2xdxgnl66kadsj40a2zc"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:cargo-test-flags
+ '(list "--release" "--"
+ ;; Some of the doc tests fail.
+ "--skip=builder::range::ValueRange::new"
+ "--skip=builder::value_parser::value_parser")
+ #:cargo-inputs
+ `(("rust-backtrace" ,rust-backtrace-0.3)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-clap-derive" ,rust-clap-derive-4)
+ ("rust-clap-lex" ,rust-clap-lex-0.3)
+ ("rust-is-terminal" ,rust-is-terminal-0.4)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-strsim" ,rust-strsim-0.10)
+ ("rust-termcolor" ,rust-termcolor-1)
+ ("rust-terminal-size" ,rust-terminal-size-0.2)
+ ("rust-unicase" ,rust-unicase-2)
+ ("rust-unicode-width" ,rust-unicode-width-0.1))
+ #:cargo-development-inputs
+ `(("rust-humantime" ,rust-humantime-2)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-shlex" ,rust-shlex-1)
+ ("rust-snapbox" ,rust-snapbox-0.4)
+ ("rust-static-assertions" ,rust-static-assertions-1)
+ ("rust-trybuild" ,rust-trybuild-1)
+ ("rust-trycmd" ,rust-trycmd-0.14)
+ ("rust-unic-emoji-char" ,rust-unic-emoji-char-0.9))))
+ (home-page "https://clap.rs/")
+ (synopsis "Command Line Argument Parser")
+ (description
+ "This package provides a simple to use, efficient, and full-featured
+Command Line Argument Parser.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-clap-3
(package
+ (inherit rust-clap-4)
(name "rust-clap")
(version "3.2.23")
(source
@@ -11089,7 +11136,6 @@ how to behave across the three main input sources")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "19bkwkj49ha7mlip0gxsqb9xmd3jpr7ghvcx1hkx6icqrd2mqrbi"))))
- (build-system cargo-build-system)
(arguments
(list #:cargo-test-flags
'(list "--release" "--"
@@ -11120,13 +11166,7 @@ how to behave across the three main input sources")
("rust-snapbox" ,rust-snapbox-0.2)
("rust-static-assertions" ,rust-static-assertions-1)
("rust-trybuild" ,rust-trybuild-1)
- ("rust-trycmd" ,rust-trycmd-0.13))))
- (home-page "https://clap.rs/")
- (synopsis "Command Line Argument Parser")
- (description
- "This package provides a simple to use, efficient, and full-featured
-Command Line Argument Parser.")
- (license (list license:expat license:asl2.0))))
+ ("rust-trycmd" ,rust-trycmd-0.13))))))
(define-public rust-clap-2
(package
- 42/469: gnu: Add rust-ghash-0.5., (continued)
- 42/469: gnu: Add rust-ghash-0.5., guix-commits, 2023/04/25
- 51/469: gnu: Add rust-libtest-mimic-0.6., guix-commits, 2023/04/25
- 53/469: gnu: Add rust-miow-0.5., guix-commits, 2023/04/25
- 57/469: gnu: Add rust-quinn-udp-0.1., guix-commits, 2023/04/25
- 63/469: gnu: rust-schannel-0.1: Update to 0.1.21., guix-commits, 2023/04/25
- 65/469: gnu: rust-snapbox-0.4: Update to 0.4.7., guix-commits, 2023/04/25
- 69/469: gnu: rust-time-macros-0.2: Update to 0.2.7., guix-commits, 2023/04/25
- 70/469: gnu: Add rust-tokio-rustls-0.23., guix-commits, 2023/04/25
- 81/469: gnu: rust-zeroize-1: Update to 1.5.7., guix-commits, 2023/04/25
- 82/469: gnu: Add rust-zeroize-1.4., guix-commits, 2023/04/25
- 86/469: gnu: Add rust-clap-4.,
guix-commits <=
- 88/469: gnu: Add rust-windows-targets-0.42., guix-commits, 2023/04/25
- 89/469: gnu: Add rust-wasm-streams-0.2., guix-commits, 2023/04/25
- 97/469: gnu: Add rust-rcgen-0.8., guix-commits, 2023/04/25
- 98/469: gnu: Add rust-quinn-0.8., guix-commits, 2023/04/25
- 96/469: gnu: Add rust-rstest-0.12., guix-commits, 2023/04/25
- 99/469: gnu: Add rust-pem-0.8., guix-commits, 2023/04/25
- 103/469: gnu: Add rust-litrs-0.2., guix-commits, 2023/04/25
- 102/469: gnu: Add rust-magma-0.8., guix-commits, 2023/04/25
- 104/469: gnu: Add rust-inout-0.1., guix-commits, 2023/04/25
- 106/469: gnu: Add rust-include-dir-0.7., guix-commits, 2023/04/25