gnu: Add rust-portpicker-0.1.

* gnu/packages/crates-io.scm (rust-portpicker-0.1): New variable.
This commit is contained in:
Nicolas Goaziou 2020-12-30 19:41:17 +01:00
parent 3e5c122a04
commit 87c670ae63
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -24328,6 +24328,27 @@ (define-public rust-pom-3
overloading without macros in Rust.")
(license license:expat)))
(define-public rust-portpicker-0.1
(package
(name "rust-portpicker")
(version "0.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "portpicker" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1fgb5pdayxy5nlx1lh60r7gx7wx45zza802w8hwhkq3gq42psjav"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-rand" ,rust-rand-0.6))))
(home-page "https://github.com/Dentosal/portpicker-rs")
(synopsis "Pick a free unused port")
(description
"This crate provides picks a free port, that is unused on both TCP and
UDP.")
(license license:unlicense)))
(define-public rust-ppv-lite86-0.2
(package
(name "rust-ppv-lite86")