From: Gabriel Arazas <foo.dogsquared@gmail.com>
To: 56037@debbugs.gnu.org
Cc: Gabriel Arazas <foo.dogsquared@gmail.com>
Subject: [bug#56037] [PATCH 13/14] gnu: rust-clap-3: Update to 3.1.18.
Date: Fri, 17 Jun 2022 19:59:14 +0800 [thread overview]
Message-ID: <2e764f0e4d225f3a5836f2d01405a2403abec9d0.1655465109.git.foo.dogsquared@gmail.com> (raw)
In-Reply-To: <c6b2d7c30e4d7a6e4af59d75c7ecf9c7951e1515.1655465108.git.foo.dogsquared@gmail.com>
* gnu/packages/crates-io.scm (rust-clap-3): Update to 3.1.18.
(rust-clap-3-beta): New variable and inherit above.
(zoxide): Replace rust-clap-3 with rust-clap-3-beta.
---
gnu/packages/crates-io.scm | 55 ++++++++++++++++++++++++++++++++------
gnu/packages/rust-apps.scm | 2 +-
2 files changed, 48 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3d18a478dd..74f9bc8f81 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11242,6 +11242,51 @@ (define-public rust-clap-derive-3-beta
(define-public rust-clap-3
(package
+ (name "rust-clap")
+ (version "3.1.18")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "clap" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "02s4hk9hrmm2s1j7dkbwpyd75mfzx3p8ks2chmp4ccybv95xznyj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-atty" ,rust-atty-0.2) ("rust-backtrace" ,rust-backtrace-0.3)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-clap-derive" ,rust-clap-derive-3)
+ ("rust-clap-lex" ,rust-clap-lex-0.2)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-strsim" ,rust-strsim-0.10)
+ ("rust-termcolor" ,rust-termcolor-1)
+ ("rust-terminal-size" ,rust-terminal-size-0.1)
+ ("rust-textwrap" ,rust-textwrap-0.15)
+ ("rust-unicase" ,rust-unicase-2)
+ ("rust-yaml-rust" ,rust-yaml-rust-0.4))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3) ("rust-humantime" ,rust-humantime-2)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-shlex" ,rust-shlex-1)
+ ("rust-snapbox" ,rust-snapbox-0.2)
+ ("rust-trybuild" ,rust-trybuild-1)
+ ("rust-trycmd" ,rust-trycmd-0.13))))
+ (home-page "https://github.com/clap-rs/clap")
+ (synopsis
+ "A simple to use, efficient, and full-featured 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-beta
+ (package
+ (inherit rust-clap-3)
(name "rust-clap")
(version "3.0.0-beta.2")
(source
@@ -11258,7 +11303,7 @@ (define-public rust-clap-3
`(#:cargo-inputs
(("rust-atty" ,rust-atty-0.2)
("rust-bitflags" ,rust-bitflags-1)
- ("rust-clap-derive" ,rust-clap-derive-3)
+ ("rust-clap-derive" ,rust-clap-derive-3-beta)
("rust-indexmap" ,rust-indexmap-1)
("rust-os-str-bytes" ,rust-os-str-bytes-2)
("rust-strsim" ,rust-strsim-0.10)
@@ -11272,13 +11317,7 @@ (define-public rust-clap-3
(("rust-criterion" ,rust-criterion-0.3)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-regex" ,rust-regex-1)
- ("rust-version-sync" ,rust-version-sync-0.8))))
- (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-version-sync" ,rust-version-sync-0.8))))))
(define-public rust-clap-2
(package
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 6d97e289c2..d60fd1996e 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -1771,7 +1771,7 @@ (define-public zoxide
(("rust-anyhow" ,rust-anyhow-1)
("rust-askama" ,rust-askama-0.10)
("rust-bincode" ,rust-bincode-1)
- ("rust-clap" ,rust-clap-3)
+ ("rust-clap" ,rust-clap-3-beta)
("rust-dirs-next" ,rust-dirs-next-2)
("rust-dunce" ,rust-dunce-1)
("rust-glob" ,rust-glob-0.3)
--
2.36.1
next prev parent reply other threads:[~2022-06-17 12:02 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-17 11:55 [bug#56037] [PATCH] gnu: Update hexyl to 0.10 Gabriel Arazas
2022-06-17 11:59 ` [bug#56037] [PATCH 01/14] gnu: Add rust-kstring-2 Gabriel Arazas
2022-06-17 11:59 ` [bug#56037] [PATCH 02/14] gnu: Add rust-toml-edit-0.14 Gabriel Arazas
2022-06-17 11:59 ` [bug#56037] [PATCH 03/14] gnu: Add rust-similar-2 Gabriel Arazas
2022-06-17 11:59 ` [bug#56037] [PATCH 04/14] gnu: Add rust-snapbox-macros-0.2 Gabriel Arazas
2022-06-17 11:59 ` [bug#56037] [PATCH 05/14] gnu: Add rust-snapbox-0.2 Gabriel Arazas
2022-06-17 11:59 ` [bug#56037] [PATCH 06/14] gnu: Add rust-libtest-mimic-0.3 Gabriel Arazas
2022-06-17 11:59 ` [bug#56037] [PATCH 07/14] gnu: Add rust-textwrap-0.15 Gabriel Arazas
2022-06-17 11:59 ` [bug#56037] [PATCH 08/14] gnu: Add rust-trycmd-0.13 Gabriel Arazas
2022-06-17 11:59 ` [bug#56037] [PATCH 09/14] gnu: Add rust-const-format-proc-macros-0.2 Gabriel Arazas
2022-06-17 11:59 ` [bug#56037] [PATCH 10/14] gnu: Add rust-const-format-0.2 Gabriel Arazas
2022-06-17 11:59 ` [bug#56037] [PATCH 11/14] gnu: Add rust-clap-lex-0.2 Gabriel Arazas
2022-06-17 11:59 ` [bug#56037] [PATCH 12/14] gnu: rust-clap-derive-3: Update to 3.1.18 Gabriel Arazas
2022-06-18 20:27 ` Maxime Devos
2022-06-17 11:59 ` Gabriel Arazas [this message]
2022-06-17 11:59 ` [bug#56037] [PATCH 14/14] gnu: hexyl: Update to 0.10.0 Gabriel Arazas
2022-06-17 17:11 ` [bug#56037] [PATCH] gnu: Update hexyl to 0.10 Maxime Devos
2022-06-17 17:26 ` Maxime Devos
[not found] ` <389bdecf-ca8f-208a-f7b8-4a9ddc92447c@gmail.com>
2022-06-20 10:40 ` Gabriel Arazas
2022-06-20 11:22 ` Maxime Devos
2022-07-10 5:03 ` antlers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2e764f0e4d225f3a5836f2d01405a2403abec9d0.1655465109.git.foo.dogsquared@gmail.com \
--to=foo.dogsquared@gmail.com \
--cc=56037@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).