gnu: Add rust-gix-prompt-0.7.

* gnu/packages/crates-io.scm (rust-gix-prompt-0.7): New variable.
(rust-gix-prompt-0.5): Inherit from rust-gix-prompt-0.7.

Change-Id: Ic69cf0c436a26262f118c5dfabfb3047bd7feeac
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Steve George 2023-11-09 19:38:26 +00:00 committed by Efraim Flashner
parent 2d18aba52a
commit ba1d4200aa
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -30709,8 +30709,7 @@ (define-public rust-gix-config-value-0.14
("rust-serde" ,rust-serde-1)
("rust-thiserror" ,rust-thiserror-1))))
(home-page "https://github.com/Byron/gitoxide")
(synopsis
"This crate implements @code{git-config} value parsing")
(synopsis "This crate implements @code{git-config} value parsing")
(description
"This package is a crate for @code{git-config} value parsing. Part of
Gitoxide a Rust implementation of Git.")
@ -31620,8 +31619,36 @@ (define-public rust-gix-path-0.8
#:cargo-development-inputs
(("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-gix-prompt-0.7
(package
(name "rust-gix-prompt")
(version "0.7.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "gix-prompt" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0y26b3d7z222b223ir9qf8yqwhknzc3c5yksjffmwvsid4vr36jw"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-gix-command" ,rust-gix-command-0.2)
("rust-gix-config-value" ,rust-gix-config-value-0.14)
("rust-parking-lot" ,rust-parking-lot-0.12)
("rust-rustix" ,rust-rustix-0.38)
("rust-thiserror" ,rust-thiserror-1))
#:cargo-development-inputs (("rust-expectrl" ,rust-expectrl-0.7)
("rust-serial-test" ,rust-serial-test-2))))
(home-page "https://github.com/Byron/gitoxide")
(synopsis "Handles prompts in the terminal as part of Gitoxide")
(description
"Gitoxide is a Rust implementation of Git. This crate handles the
terminals prompt.")
(license (list license:expat license:asl2.0))))
(define-public rust-gix-prompt-0.5
(package
(inherit rust-gix-prompt-0.7)
(name "rust-gix-prompt")
(version "0.5.5")
(source
@ -31631,7 +31658,6 @@ (define-public rust-gix-prompt-0.5
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1sm5b24jpcv4whzxymk6fpb1ph1hhq6842115fpcqqx0yk5dw8ic"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-gix-command" ,rust-gix-command-0.2)
@ -31641,14 +31667,7 @@ (define-public rust-gix-prompt-0.5
("rust-thiserror" ,rust-thiserror-1))
#:cargo-development-inputs
(("rust-expectrl" ,rust-expectrl-0.7)
("rust-serial-test" ,rust-serial-test-2))))
(home-page "https://github.com/Byron/gitoxide")
(synopsis
"Crate of the gitoxide project for handling prompts in the terminal")
(description
"This package provides a crate of the gitoxide project for handling prompts in
the terminal.")
(license (list license:expat license:asl2.0))))
("rust-serial-test" ,rust-serial-test-2))))))
(define-public rust-gix-protocol-0.33
(package