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
This commit is contained in:
Efraim Flashner 2023-12-24 09:54:03 +02:00
parent 85db3daf07
commit 58c320141f
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -22317,8 +22317,34 @@ (define-public rust-dhcp4r-0.2
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 @@ (define-public rust-dialoguer-0.10
(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