From f011a11c1c62eceb50106549fa44c61a24701788 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 3 Dec 2021 22:47:20 +0100 Subject: [PATCH] gnu: Add rust-async-fs-1. * gnu/packages/crates-io.scm (rust-async-fs-1): New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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 @@ (define-public rust-async-executor-1 (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")