diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-08-28 15:06:42 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-08-28 16:53:02 +0300 |
commit | 0c944af88394b98cad64a3bfef225282fbde7105 (patch) | |
tree | f1925e31a1e8087b889d61adef368d0b08f779a8 /gnu | |
parent | 86cd265fb7fb7d73155bd812b095a4ad88f173d5 (diff) | |
download | guix-0c944af88394b98cad64a3bfef225282fbde7105.tar.gz guix-0c944af88394b98cad64a3bfef225282fbde7105.zip |
gnu: rust-wincolor: New variable.
* gnu/packages/crates-io.scm (rust-wincolor): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ef97cd36ee..6ca7cf23bf 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1187,6 +1187,31 @@ x86_64-pc-windows-gnu target. Please don't use this crate directly, depend on (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") |