gnu: Add rust-concolor-query-0.3.

* gnu/packages/crates-io.scm (rust-concolor-query-0.3): New variable.
(rust-concolor-query-0.1): Inherit from rust-concolor-query-0.3.

Change-Id: I44c321dbdc55ab006908ffd9dc21c8d30ffacaf9
This commit is contained in:
Efraim Flashner 2024-01-07 11:55:48 +02:00
parent eabe9ce979
commit c95c57f56d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -13261,8 +13261,29 @@ (define-public rust-concolor-override-1
(description "Global override of color control.")
(license (list license:expat license:asl2.0))))
(define-public rust-concolor-query-0.3
(package
(name "rust-concolor-query")
(version "0.3.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "concolor-query" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1ks4g514kx31nnv3bxa7cj5xgg6vwkljn8a001njxjnpqd91vlc8"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-windows-sys" ,rust-windows-sys-0.45))))
(home-page "https://github.com/rust-cli/concolor")
(synopsis "Look up colored console capabilities")
(description "@code{concolor-query} can be used to query a terminal
capabilities, for example to find out about its colored console abilities.")
(license (list license:expat license:asl2.0))))
(define-public rust-concolor-query-0.1
(package
(inherit rust-concolor-query-0.3)
(name "rust-concolor-query")
(version "0.1.0")
(source
@ -13272,12 +13293,7 @@ (define-public rust-concolor-query-0.1
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "05ykng7pqhm7840yh07r27p90flwrrmwlk32wxbgdp6mncs0gac2"))))
(build-system cargo-build-system)
(home-page "https://github.com/rust-cli/concolor")
(synopsis "Look up colored console capabilities")
(description "@code{concolor-query} can be used to query a terminal
capabilities, for example to find out about its colored console abilities.")
(license (list license:expat license:asl2.0))))
(arguments '())))
(define-public rust-concolor-query-0.0.5
(package