From ab71cd32f8e0720c6a43d917b756876383e85099 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 21 Dec 2020 00:33:56 +0100 Subject: [PATCH] gnu: Add rust-flume-0.10. * gnu/packages/crates-io.scm (rust-flume-0.10): New variable. --- gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d42fa1ef4a..efe03c9432 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10244,6 +10244,39 @@ (define-public rust-fluid-attributes-0.4 crate.") (license license:asl2.0))) +(define-public rust-flume-0.10 + (package + (name "rust-flume") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "flume" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14dvj6d2r6vgsy3adv4lncbddjwc59rgl0rcwc1kdnsmqkh7lwhy")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #true ;XXX: remove when rust-async-std-1 is packaged + #:cargo-inputs + (("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-sink" ,rust-futures-sink-0.3) + ("rust-nanorand" ,rust-nanorand-0.5) + ("rust-spinning-top" ,rust-spinning-top-0.2)) + #:cargo-development-inputs + (;("rust-async-std" ,rust-async-std-1) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.4) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7) + ("rust-futures" ,rust-futures-0.3) + ("rust-rand" ,rust-rand-0.7) + ("rust-waker-fn" ,rust-waker-fn-1)))) + (home-page "https://github.com/zesterer/flume") + (synopsis "Fast multi-producer channel") + (description + "This package provides a fast multi-producer channel.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-fnv-1 (package (name "rust-fnv")