summary refs log tree commit diff
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2021-11-09 21:15:00 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-10 00:11:26 +0100
commit149dd92888bef1208f09bcfbdb8279248bff67aa (patch)
tree1d7ea37ba59e029f3c13c2ce33c97d01de0af214
parent1c7305adffca671837d0a1451c921afe6ba2bf1b (diff)
downloadguix-149dd92888bef1208f09bcfbdb8279248bff67aa.tar.gz
gnu: Add rust-atty-0.2.11.
* gnu/packages/crates-io.scm (rust-atty-0.2.11): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 71b499aecf..276fac99fb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4148,6 +4148,26 @@ methods.")
      "This package provides a simple interface for querying atty.")
     (license license:expat)))
 
+(define-public rust-atty-0.2.11
+  (package
+    (inherit rust-atty-0.2)
+    (name "rust-atty")
+    (version "0.2.11")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "atty" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "0lln6vaczj521qqjbaqnb81w5p6xk4fjfkg33r0m22cm4f3mnzcs"))))
+    (arguments
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("rust-libc" ,rust-libc-0.2)
+         ("rust-termion" ,rust-termion-1)
+         ("rust-winapi" ,rust-winapi-0.3))))))
+
 (define-public rust-autocfg-1
   (package
     (name "rust-autocfg")