summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSuhail Singh <suhailsingh247@gmail.com>2024-03-04 18:57:15 -0500
committerEfraim Flashner <efraim@flashner.co.il>2024-03-05 10:08:22 +0200
commited84b7fe37f55a820121955785b722b8eca9b057 (patch)
tree186ae2904c0f37680f6c7641cc0107ac2f993498 /gnu
parentb14ca64caf13cff3f29f6b867713e8967a9bf25f (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.scm29
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")