gnu: Add rust-atty.

* gnu/packages/crates-io.scm (rust-atty): New variable.
This commit is contained in:
Efraim Flashner 2019-08-29 14:10:37 +03:00
parent c5af2ecfb8
commit ec3bbde43e
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 24 additions and 0 deletions

View File

@ -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")