gnu: Add rust-anstyle-wincon-3.

* gnu/packages/crates-io.scm (rust-anstyle-wincon-3): New variable.
(rust-anstyle-wincon-1): Inherit from rust-anstyle-wincon-3.

Change-Id: Ib46f7066bfd94d845ff453bb76731cc6001269a9
This commit is contained in:
Efraim Flashner 2023-10-27 20:31:58 +03:00
parent b2d335c5fc
commit 0de898009b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -3659,8 +3659,30 @@ (define-public rust-anstyle-query-1
(description "Look up colored console capabilities")
(license (list license:expat license:asl2.0))))
(define-public rust-anstyle-wincon-3
(package
(name "rust-anstyle-wincon")
(version "3.0.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "anstyle-wincon" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0a066gr4p7bha8qwnxyrpbrqzjdvk8l7pdg7isljimpls889ssgh"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1)
("rust-windows-sys" ,rust-windows-sys-0.48))
#:cargo-development-inputs (("rust-lexopt" ,rust-lexopt-0.3))))
(home-page "https://github.com/rust-cli/anstyle")
(synopsis "Styling legacy Windows terminals")
(description "Styling legacy Windows terminals.")
(license (list license:expat license:asl2.0))))
(define-public rust-anstyle-wincon-1
(package
(inherit rust-anstyle-wincon-3)
(name "rust-anstyle-wincon")
(version "1.0.1")
(source (origin
@ -3670,17 +3692,12 @@ (define-public rust-anstyle-wincon-1
(sha256
(base32
"12714vwjf4c1wm3qf49m5vmd93qvq2nav6zpjc0bxbh3ayjby2hq"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-anstyle" ,rust-anstyle-1)
("rust-windows-sys" ,rust-windows-sys-0.48))
#:cargo-development-inputs
(("rust-lexopt" ,rust-lexopt-0.3))))
(home-page "https://github.com/rust-cli/anstyle")
(synopsis "Styling legacy Windows terminals")
(description "Styling legacy Windows terminals")
(license (list license:expat license:asl2.0))))
(("rust-lexopt" ,rust-lexopt-0.3))))))
(define-public rust-antidote-1
(package