From 9e17c5aed8b02c7709180d7ecac985a13be50b88 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 21 Dec 2020 01:20:24 +0100 Subject: [PATCH] gnu: Add rust-blocking-0.4. * gnu/packages/crates-io.scm (rust-blocking-0.4): New variable. --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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 @@ (define-public rust-blocking-0.6 ("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")