guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#51730] [PATCH 14/21] gnu: Add rust-atty-0.2.11.


From: phodina
Subject: [bug#51730] [PATCH 14/21] gnu: Add rust-atty-0.2.11.
Date: Tue, 09 Nov 2021 21:19:35 +0000

* gnu/packages/crates-io.scm (rust-atty-0.2.11): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 14dfbbcd73..ff9d1cec83 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4004,6 +4004,26 @@ (define-public rust-atty-0.2
      "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")
--
2.33.1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]