guix-commits
[Top][All Lists]
Advanced

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

03/05: gnu: Add rust-dialoguer-0.3.


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

efraim pushed a commit to branch master
in repository guix.

commit ce992dda3a4fb9a9fedb823db5bbdbfcce147518
Author: André Batista <nandre@riseup.net>
AuthorDate: Thu Oct 8 18:49:44 2020 -0300

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bbb0b9b..c090f08 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5399,6 +5399,28 @@ 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
+     `(#:cargo-test-flags '("--lib")
+       #:cargo-inputs
+       (("rust-console" ,rust-console-0.11)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-tempfile" ,rust-tempfile-2))))))
+
 (define-public rust-diff-0.1
   (package
     (name "rust-diff")



reply via email to

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