summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-19 15:51:36 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-22 23:39:32 +0200
commit25f9fa17d1c2013d2b8b23182b92f1a1ccaa714e (patch)
treec3d802cefb10f3a53597edcfeaaee886caf3be7e /gnu
parentabc226f2c26aa738b5fb3f0005f833a2f4133e98 (diff)
downloadpatches-25f9fa17d1c2013d2b8b23182b92f1a1ccaa714e.tar
patches-25f9fa17d1c2013d2b8b23182b92f1a1ccaa714e.tar.gz
gnu: Add rust-futures-util-0.3.
* gnu/packages/crates-io.scm (rust-futures-util-0.3): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 94a20e9a72..84a61739ba 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4875,6 +4875,41 @@ futures-rs library.")
(description "Tools for working with tasks.")
(license (list license:expat license:asl2.0))))
+(define-public rust-futures-util-0.3
+ (package
+ (name "rust-futures-util")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "futures-util" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0xlyqdn6lnpkw27lwxczihx91h64gbdd31n8c8y5v63nzds65mn0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-futures" ,rust-futures-0.1)
+ ("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-io" ,rust-futures-io-0.3)
+ ("rust-futures-macro" ,rust-futures-macro-0.3)
+ ("rust-futures-sink" ,rust-futures-sink-0.3)
+ ("rust-futures-task" ,rust-futures-task-0.3)
+ ("rust-memchr" ,rust-memchr-2.2)
+ ("rust-pin-utils" ,rust-pin-utils-0.1)
+ ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
+ ("rust-proc-macro-nested" ,rust-proc-macro-nested-0.1)
+ ("rust-slab" ,rust-slab-0.4)
+ ("rust-tokio-io" ,rust-tokio-io-0.1))))
+ (home-page "https://rust-lang-nursery.github.io/futures-rs")
+ (synopsis "Common utilities and extension traits for the futures-rs library")
+ (description "This package provides common utilities and extension traits
+for the futures-rs library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-futures-util-preview-0.3
(package
(name "rust-futures-util-preview")