gnu: Add rust-nb-0.1.

* gnu/packages/crates-io.scm (rust-nb-0.1): New variable.
This commit is contained in:
Nicolas Goaziou 2021-12-27 18:49:22 +01:00
parent e451061dd4
commit f2c1d65a88
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -32043,6 +32043,23 @@ (define-public rust-nb-1
(description "This package provides a minimal non-blocking I/O layer.")
(license (list license:expat license:asl2.0))))
(define-public rust-nb-0.1
(package
(inherit rust-nb-1)
(name "rust-nb")
(version "0.1.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "nb" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0vyh31pbwrg21f8hz1ipb9i20qwnfwx47gz92i9frdhk0pd327c0"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs (("rust-nb" ,rust-nb-1))))))
(define-public rust-nb-connect-1
(package
(name "rust-nb-connect")