summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorAndré Batista <nandre@riseup.net>2020-10-08 18:43:52 -0300
committerEfraim Flashner <efraim@flashner.co.il>2020-10-11 13:42:20 +0300
commitf3a3cef559331d69215395dec87b276638e021d9 (patch)
tree967ad0e5c66ab7607f28a92c2502841221ddd2ad /gnu
parent306d5fd850ceacdc0739fa938dd52f7dadf749fb (diff)
downloadguix-f3a3cef559331d69215395dec87b276638e021d9.tar.gz
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 11731a99e7..bbb0b9b906 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")