summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-10-23 09:42:01 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-10-23 10:30:58 +0300
commit00f5b065b5159aa3987731850a56dd067a070f60 (patch)
tree5c0a1714f50886d88166105f730df9372dc490c2 /gnu
parente99fbcad344367d8b6acee13f1f6dfbbcb8a1377 (diff)
gnu: Add rust-atty-0.2.
* gnu/packages/rust-cbindgen.scm (rust-atty-0.2): New hidden variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/rust-cbindgen.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/rust-cbindgen.scm b/gnu/packages/rust-cbindgen.scm
index aab4a81f5c..c37b80ecc6 100644
--- a/gnu/packages/rust-cbindgen.scm
+++ b/gnu/packages/rust-cbindgen.scm
@@ -42,3 +42,23 @@
text or blue underlined text, on ANSI terminals.")
(properties '((hidden? . #t)))
(license license:expat)))
+
+(define rust-atty-0.2
+ (package
+ (name "rust-atty")
+ (version "0.2.13")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "atty" version))
+ (file-name (string-append name "-" version ".crate"))
+ (sha256
+ (base32
+ "140sswp1bwqwc4zk80bxkbnfb3g936hgrb77g9g0k1zcld3wc0qq"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/softprops/atty")
+ (synopsis "A simple interface for querying atty")
+ (description
+ "This package provides a simple interface for querying atty.")
+ (properties '((hidden? . #t)))
+ (license license:expat)))