Subject: Re: [bug#43873] [PATCH 3/3] gnu: Add rust-dialoguer-0.3.

From: André Batista <[email-masked]>
Date: Thu, 8 Oct 2020 20:00:17 -0300

From d670811b5b0f648c4b58f69f21e01bcac6d42795 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Batista?= <[email-masked]>
Date: Thu, 8 Oct 2020 18:49:44 -0300
Subject: [PATCH] gnu: Add rust-dialoguer-0.3.
To: [email-masked]

* gnu/packages/crates-io.scm (rust-dialoguer-0.3): New variable.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7cdf5262fa..ecbd9dae50 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5399,6 +5399,29 @@ structs and enums.")
      "This package provides a library for command line prompts and the like.")
     (license license:expat)))
 
+(define-public rust-dialoguer-0.3
+  (package
+    (inherit rust-dialoguer-0.6)
+    (name "rust-dialoguer")
+    (version "0.3.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "dialoguer" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "1a9gqvqp83gg4jbm286q5ab3l44zyyzlsdaiqmw8x4k80fdc5l8s"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(;; One prompt test is failing on lacking default prompt impl.
+       #:tests? #f
+       #:cargo-inputs
+       (("rust-console" ,rust-console-0.7)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-tempfile" ,rust-tempfile-2))))))
+
 (define-public rust-diff-0.1
   (package
     (name "rust-diff")
-- 
2.28.0