summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-21 01:20:24 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-04 19:29:20 +0100
commit9e17c5aed8b02c7709180d7ecac985a13be50b88 (patch)
tree8fc7d5b4d593833ae1e7f3274bfc62c0bd480341 /gnu
parent720bb2b03fcf20e0e1465ca89bda90f2e5af2238 (diff)
gnu: Add rust-blocking-0.4.
* gnu/packages/crates-io.scm (rust-blocking-0.4): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d6e5dcb687..0986fd19bb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3261,6 +3261,27 @@ programs.")
("rust-once-cell" ,rust-once-cell-1)
("rust-waker-fn" ,rust-waker-fn-1))))))
+(define-public rust-blocking-0.4
+ (package
+ (inherit rust-blocking-0.6)
+ (name "rust-blocking")
+ (version "0.4.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "blocking" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0av1h5p6lb5bpzghmzsksx31icvdwrpxxzkq6r56n1l5pzvqyinj"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-async-channel" ,rust-async-channel-1)
+ ("rust-atomic-waker" ,rust-atomic-waker-1)
+ ("rust-futures-lite" ,rust-futures-lite-0.1)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-parking" ,rust-parking-1)
+ ("rust-waker-fn" ,rust-waker-fn-1))))))
+
(define-public rust-bresenham-0.1
(package
(name "rust-bresenham")