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.
This commit is contained in:
Hartmut Goebel 2020-10-18 01:39:43 +02:00
parent 639f64823b
commit c12601ef58
No known key found for this signature in database
GPG key ID: 634A8DFFD3F631DF

View file

@ -22423,8 +22423,32 @@ (define-public rust-rspec-1
rust.")
(license license:mpl2.0)))
(define-public rust-rpassword-5
(package
(name "rust-rpassword")
(version "5.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rpassword" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1j96nc3dmqhxwb4ql50r5xjs0imwr2x6mrj02mj9i7grq1zj6mfp"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
("rust-winapi" ,rust-winapi-0.3))))
(home-page "https://github.com/conradkleinespel/rpassword")
(synopsis "Read passwords in Rust console applications")
(description "This package provides a crate for reading passwords in
console applications.")
(license license:asl2.0)))
(define-public rust-rpassword-4
(package
(inherit rust-rpassword-5)
(name "rust-rpassword")
(version "4.0.5")
(source
@ -22433,17 +22457,7 @@ (define-public rust-rpassword-4
(uri (crate-uri "rpassword" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "17z99xazhhbaczw0ib1vnnq450j0zacdn8b2zcbdir68sdbicdwr"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
("rust-winapi" ,rust-winapi-0.3))))
(home-page "https://github.com/conradkleinespel/rpassword")
(synopsis "Read passwords in Rust console applications")
(description "This package provides a crate for reading passwords in
console applications.")
(license license:asl2.0)))
(base32 "17z99xazhhbaczw0ib1vnnq450j0zacdn8b2zcbdir68sdbicdwr"))))))
(define-public rust-rpassword-3
(package