guix-commits
[Top][All Lists]
Advanced

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

01/22: gnu: Add rust-rpassword-5.


From: guix-commits
Subject: 01/22: gnu: Add rust-rpassword-5.
Date: Wed, 2 Dec 2020 15:54:39 -0500 (EST)

htgoebel pushed a commit to branch master
in repository guix.

commit c12601ef58e172949f6d3778df97d5d11a61053d
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Sun Oct 18 01:39:43 2020 +0200

    gnu: Add rust-rpassword-5.
    
    * gnu/packages/crates-io.scm (rust-rpassword-5): New variable, skipping
      build.  (rust-rpassword-4): Inherit from rust-rpassword-5.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 82e37a0..5ad062b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22423,20 +22423,21 @@ Rust Language Server.")
 rust.")
     (license license:mpl2.0)))
 
-(define-public rust-rpassword-4
+(define-public rust-rpassword-5
   (package
     (name "rust-rpassword")
-    (version "4.0.5")
+    (version "5.0.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "rpassword" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "17z99xazhhbaczw0ib1vnnq450j0zacdn8b2zcbdir68sdbicdwr"))))
+        (base32 "1j96nc3dmqhxwb4ql50r5xjs0imwr2x6mrj02mj9i7grq1zj6mfp"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
+     `(#:skip-build? #t
+       #:cargo-inputs
        (("rust-libc" ,rust-libc-0.2)
         ("rust-winapi" ,rust-winapi-0.3))))
     (home-page "https://github.com/conradkleinespel/rpassword";)
@@ -22445,6 +22446,19 @@ rust.")
 console applications.")
   (license license:asl2.0)))
 
+(define-public rust-rpassword-4
+  (package
+    (inherit rust-rpassword-5)
+    (name "rust-rpassword")
+    (version "4.0.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rpassword" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "17z99xazhhbaczw0ib1vnnq450j0zacdn8b2zcbdir68sdbicdwr"))))))
+
 (define-public rust-rpassword-3
   (package
     (inherit rust-rpassword-4)



reply via email to

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