gnu: rust-wincolor: New variable.

* gnu/packages/crates-io.scm (rust-wincolor): New variable.
This commit is contained in:
Efraim Flashner 2019-08-28 15:06:42 +03:00
parent 86cd265fb7
commit 0c944af883
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1187,6 +1187,31 @@ (define-public rust-winapi-x86-64-pc-windows-gnu
(license (list license:asl2.0
license:expat))))
(define-public rust-wincolor
(package
(name "rust-wincolor")
(version "1.0.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "wincolor" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1agaf3hcav113i86912ajnw6jxcy4rvkrgyf8gdj8kc031mh3xcn"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-winapi" ,rust-winapi)
("rust-winapi-util" ,rust-winapi-util))))
(home-page "https://github.com/BurntSushi/termcolor/tree/master/wincolor")
(synopsis "Windows API for controlling text color in a Windows console")
(description
"This package provides a simple Windows specific API for controlling text
color in a Windows console.")
(license (list license:unlicense
license:expat))))
(define-public rust-xdg
(package
(name "rust-xdg")