diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-08-29 14:10:37 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-08-29 15:05:24 +0300 |
commit | ec3bbde43e79a884f58f5bf59de58c0de8cf0442 (patch) | |
tree | d0a4189e7e0f3fad089c025f0de178a51b20c550 /gnu | |
parent | c5af2ecfb85a13ae6c39f911f456ff320c2818e5 (diff) | |
download | guix-ec3bbde43e79a884f58f5bf59de58c0de8cf0442.tar.gz |
gnu: Add rust-atty.
* gnu/packages/crates-io.scm (rust-atty): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 39b976bc53..ce4893acab 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -50,6 +50,30 @@ (license (list license:asl2.0 license:expat)))) +(define-public rust-atty + (package + (name "rust-atty") + (version "0.2.13") + (source + (origin + (method url-fetch) + (uri (crate-uri "atty" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "140sswp1bwqwc4zk80bxkbnfb3g936hgrb77g9g0k1zcld3wc0qq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc) + ("rust-winapi" ,rust-winapi)) + #:tests? #f)) ; tests fail in our sandbox + (home-page "https://github.com/softprops/atty") + (synopsis "A simple interface for querying atty") + (description + "This package provides a simple interface for querying atty.") + (license license:expat))) + (define-public rust-autocfg (package (name "rust-autocfg") |