summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-15 10:13:39 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:47 +0200
commite1488b1dcc8439b281bc542be277386d0df85601 (patch)
treed4c0168af2d09060862610de4b90536423d11cc7 /gnu
parent417b483c6bdaf9b5e9aed1af205d9464979728e5 (diff)
gnu: Add rust-tokio-fs-0.1.
* gnu/packages/crates-io.scm (rust-tokio-fs-0.1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c9a72544f0..ec25014f3f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8776,6 +8776,38 @@ the current thread.")
(description "Future execution primitives.")
(license license:expat)))
+(define-public rust-tokio-fs-0.1
+ (package
+ (name "rust-tokio-fs")
+ (version "0.1.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-fs" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1bxp8585pi4j5g39ci2gkk99qnyilyhhila7cs8r6scdn0idrriz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-futures" ,rust-futures-0.1)
+ ("rust-tokio-io" ,rust-tokio-io-0.1)
+ ("rust-tokio-threadpool" ,rust-tokio-threadpool-0.1))
+ #:cargo-development-inputs
+ (("rust-rand" ,rust-rand-0.4)
+ ("rust-tempdir" ,rust-tempdir-0.3)
+ ("rust-tempfile" ,rust-tempfile-3.0)
+ ("rust-tokio" ,rust-tokio-0.1)
+ ("rust-tokio-codec" ,rust-tokio-codec-0.1)
+ ("rust-tokio-io" ,rust-tokio-io-0.1))))
+ (home-page "https://tokio.rs")
+ (synopsis "Filesystem API for Tokio")
+ (description "Filesystem API for Tokio.")
+ (license license:expat)))
+
;; Cyclic dependencies with tokio and tokio-current-thread
(define-public rust-tokio-io-0.1
(package