diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-12-24 09:54:03 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:36 +0200 |
commit | 58c320141f71058c6e9302bbc3f598e63b2336a1 (patch) | |
tree | e89f5e01a415d6160fe2ff376a7cc948ea36b5ee /gnu | |
parent | 85db3daf07329e2e667149c6fc2171ed4fffd8d6 (diff) | |
download | guix-58c320141f71058c6e9302bbc3f598e63b2336a1.tar.gz |
gnu: Add rust-dialoguer-0.11.
* gnu/packages/crates-io.scm (rust-dialoguer-0.11): New variable. (rust-dialoguer-0.10): Inherit from rust-dialoguer-0.11. Change-Id: Ibfedfdb2e89c6f4bb61ff88aa3e81fb97e5ecaf3
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 33 |
1 files changed, 27 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 968d67ebdb..c4e8c5b2cb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -22317,8 +22317,34 @@ procedural macros.") example.") (license license:bsd-3))) +(define-public rust-dialoguer-0.11 + (package + (name "rust-dialoguer") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "dialoguer" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pl0744wwr97kp8qnaybzgrfwk66qakzq0i1qrxl03vpbn0cx2v5")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved import `dialoguer::History` + #:cargo-inputs (("rust-console" ,rust-console-0.15) + ("rust-fuzzy-matcher" ,rust-fuzzy-matcher-0.3) + ("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-zeroize" ,rust-zeroize-1)))) + (home-page "https://github.com/console-rs/dialoguer") + (synopsis "Command line prompting library") + (description "This package provides a command line prompting library.") + (license license:expat))) + (define-public rust-dialoguer-0.10 (package + (inherit rust-dialoguer-0.11) (name "rust-dialoguer") (version "0.10.4") (source (origin @@ -22328,18 +22354,13 @@ example.") (sha256 (base32 "11rgzrhi677w9gf1r3ip2x361svdkjkr2m5dsfca9fcljacg5ijr")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-console" ,rust-console-0.15) ("rust-fuzzy-matcher" ,rust-fuzzy-matcher-0.3) ("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3) - ("rust-zeroize" ,rust-zeroize-1)))) - (home-page "https://github.com/mitsuhiko/dialoguer") - (synopsis "Command line prompting library") - (description "This package provides a command line prompting library.") - (license license:expat))) + ("rust-zeroize" ,rust-zeroize-1)))))) (define-public rust-diesel-1 (package |