summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-05-22 16:46:52 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-08-14 19:37:52 +0300
commit1d6bdcda0d7b691ddf08103c46a91dfc7e70267d (patch)
tree27adbf925b2089842741d8908c720e985432e52a /gnu
parent7b5fda69a50b1a5088dbaa93138cf215cf504f92 (diff)
downloadguix-1d6bdcda0d7b691ddf08103c46a91dfc7e70267d.tar.gz
gnu: rust-clap-4: Update to 4.3.0.
* gnu/packages/crates-io.scm (rust-clap-4): Update to 4.3.0.
[arguments]: Remove cargo-test-flags.
[cargo-inputs]: Add rust-clap-builder-4.  Remove rust-backtrace-0.3,
rust-bitflags-1, rust-clap-lex-0.3, rust-is-terminal-0.4,
rust-strsim-0.10, rust-termcolor-1, rust-terminal-size-0.2,
rust-unicase-2, rust-unicode-width-0.1.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 5 insertions, 18 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d4a0f119f4..c87240f01a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11665,33 +11665,20 @@ how to behave across the three main input sources")
 (define-public rust-clap-4
   (package
     (name "rust-clap")
-    (version "4.1.6")
+    (version "4.3.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "clap" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1qzmsg3j2rch16gbh753hsdgvfv6q4vc2xdxgnl66kadsj40a2zc"))))
+        (base32 "1k2s9llgkn7pjr1vsc4dx19vz9dlqxzibnaxww7zfi9236jfgalk"))))
     (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)
+     (list #:cargo-inputs
+           `(("rust-clap-builder" ,rust-clap-builder-4)
              ("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))
+             ("rust-once-cell" ,rust-once-cell-1))
            #:cargo-development-inputs
            `(("rust-humantime" ,rust-humantime-2)
              ("rust-rustversion" ,rust-rustversion-1)