diff options
author | Suhail Singh <suhailsingh247@gmail.com> | 2024-03-04 18:57:15 -0500 |
---|---|---|
committer | Josselin Poiret <dev@jpoiret.xyz> | 2024-03-09 15:58:21 +0100 |
commit | c4b0fe4baa815e6e129247947eb99d06d9ba211e (patch) | |
tree | b18ece60aeb16b3355449f39641b29024a497daa /gnu | |
parent | be328fa586f553f1ae1a12b43725998a3e5854ad (diff) |
gnu: Add rust-clap-verbosity-flag-2.
* gnu/packages/crates-io.scm (rust-clap-verbosity-flag-2): New variable.
Change-Id: I9fa802d964e71a1618d8d42571ca954c34dbf59e
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 88c1742bbe..1a08748392 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -41,6 +41,7 @@ ;;; Copyright © 2023, 2024 Troy Figiel <troy@troyfigiel.com> ;;; Copyright © 2024 Herman Rimm <herman@rimm.ee> ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> +;;; Copyright © 2024 Suhail Singh <suhail@bayesians.ca> ;;; ;;; This file is part of GNU Guix. ;;; @@ -11723,6 +11724,34 @@ stream of tokens.") (("rust-clap" ,rust-clap-3) ("rust-snapbox" ,rust-snapbox-0.2)))))) +(define-public rust-clap-verbosity-flag-2 + (package + (name "rust-clap-verbosity-flag") + (version "2.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "clap-verbosity-flag" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15f419hg1xskf7pwzk5n27cpn05n0ccbd6sbji906ymi47576zxm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-clap" ,rust-clap-4) + ("rust-log" ,rust-log-0.4)) + #:cargo-development-inputs + (("rust-clap" ,rust-clap-4) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-log" ,rust-tracing-log-0.2) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (home-page "https://github.com/clap-rs/clap-verbosity-flag") + (synopsis "Easily add a `--verbose` flag to CLIs using Clap") + (description + "This package provides a way to add a `--verbose` flag to CLIs using +Clap.") + (license (list license:expat license:asl2.0)))) + (define-public rust-clearscreen-1 (package (name "rust-clearscreen") |