guix-commits
[Top][All Lists]
Advanced

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

02/05: gnu: Add rust-dialoguer-0.6.


From: guix-commits
Subject: 02/05: gnu: Add rust-dialoguer-0.6.
Date: Sun, 11 Oct 2020 07:07:32 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit f3a3cef559331d69215395dec87b276638e021d9
Author: André Batista <nandre@riseup.net>
AuthorDate: Thu Oct 8 18:43:52 2020 -0300

    gnu: Add rust-dialoguer-0.6.
    
    * gnu/packages/crates-io.scm (rust-dialoguer-0.6): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 11731a9..bbb0b9b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5374,6 +5374,31 @@ traits for both structs and enums.")
 structs and enums.")
   (license license:expat)))
 
+(define-public rust-dialoguer-0.6
+  (package
+    (name "rust-dialoguer")
+    (version "0.6.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "dialoguer" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0f31ahy6myg2vz9xrdmp0vx0m7x427a1wxpgrgwhxd0rgfpqdapl"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-console" ,rust-console-0.11)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-tempfile" ,rust-tempfile-3))))
+    (home-page "https://github.com/mitsuhiko/dialoguer";)
+    (synopsis "Library for command line prompts")
+    (description
+     "This package provides a library for command line prompts and the like.")
+    (license license:expat)))
+
 (define-public rust-diff-0.1
   (package
     (name "rust-diff")



reply via email to

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