mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add rust-atty.
* gnu/packages/crates-io.scm (rust-atty): New variable.
This commit is contained in:
parent
c5af2ecfb8
commit
ec3bbde43e
1 changed files with 24 additions and 0 deletions
|
@ -50,6 +50,30 @@
|
||||||
(license (list license:asl2.0
|
(license (list license:asl2.0
|
||||||
license:expat))))
|
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
|
(define-public rust-autocfg
|
||||||
(package
|
(package
|
||||||
(name "rust-autocfg")
|
(name "rust-autocfg")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue