aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-09 11:38:43 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:49:39 +0100
commita0252a38c95625e6961098d7b200ac0d193d9e97 (patch)
treeef1880d70b4b68b2b4981a50c44c3b407662f512
parent04ddc64a192c69c106e11431482deccd58c68e83 (diff)
downloadguix-a0252a38c95625e6961098d7b200ac0d193d9e97.tar.gz
guix-a0252a38c95625e6961098d7b200ac0d193d9e97.zip
gnu: Add rust-want-0.0.
* gnu/packages/crates-io.scm (rust-want-0.0): New variable.
-rw-r--r--gnu/packages/crates-io.scm36
1 files changed, 28 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cadf4fdd15..0eef6c83c8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41650,19 +41650,39 @@ result.")
(description "Detect when another Future wants a result.")
(license license:expat)))
+(define-public rust-want-0.0
+ (package
+ (inherit rust-want-0.3)
+ (name "rust-want")
+ (version "0.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "want" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1l9mbh4a0r2m3s8nckhy1vz9qm6lxsswlgxpimf4pyjkcyb9spd0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-futures" ,rust-futures-0.1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-try-lock" ,rust-try-lock-0.1))))))
+
(define-public rust-wasi-0.9
(package
(name "rust-wasi")
(version "0.9.0+wasi-snapshot-preview1")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "wasi" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "06g5v3vrdapfzvfq662cij7v8a1flwr2my45nnncdv2galrdzkfc"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasi" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "06g5v3vrdapfzvfq662cij7v8a1flwr2my45nnncdv2galrdzkfc"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t