summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-03 22:47:20 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-27 19:52:37 +0100
commitf011a11c1c62eceb50106549fa44c61a24701788 (patch)
treef344c5ce93f475a549d03716a7efde4c712649e9
parentec2fd9863d2150a1ea817b91fc71cefd567bed4e (diff)
gnu: Add rust-async-fs-1.
* gnu/packages/crates-io.scm (rust-async-fs-1): New variable.
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3cecc75b94..fbfb493262 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3427,6 +3427,29 @@ AsyncSeek if the inner type does.")
(description "This library provides async executors.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-async-fs-1
+ (package
+ (name "rust-async-fs")
+ (version "1.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "async-fs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qnsqg0jjpda590w8nvbhh5mcmdyx5f43xx2g313fz0izzwa8g4b"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-async-lock" ,rust-async-lock-2)
+ ("rust-blocking" ,rust-blocking-1)
+ ("rust-futures-lite" ,rust-futures-lite-1))))
+ (home-page "https://github.com/stjepang/async-fs")
+ (synopsis "Async filesystem primitives in Rust")
+ (description "This package provides async filesystem primitives.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-async-global-executor-2
(package
(name "rust-async-global-executor")