diff options
author | Jaeme Sifat <jaeme@runbox.com> | 2023-12-29 19:40:14 -0500 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:01 +0200 |
commit | c7c0c228e82b2922544bb826286d0ef8279c1f90 (patch) | |
tree | 20f42c1694798c922499e682ce4d536217847147 /gnu | |
parent | 465a1061474b39e8ece41e95bd3f0b0d8ff11c3e (diff) | |
download | guix-c7c0c228e82b2922544bb826286d0ef8279c1f90.tar.gz |
gnu: Add rust-fsio-0.4.
* gnu/packages/crates-io.scm (rust-fsio-0.4): New variable. Change-Id: I068ec97c16e4f5fc378791a18b9d49c2a3f497e9 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 38543bfc00..471aff73b0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -26393,6 +26393,37 @@ more helpful error messages.") process and much more.") (license license:expat))) +(define-public rust-fsio-0.4 + (package + (name "rust-fsio") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fsio" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1l1nkb06s8xx84yrba5nj86wm80knv40bmy54nrl3i0cpqqcxl6s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-dunce" ,rust-dunce-1) + ("rust-rand" ,rust-rand-0.8)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3)))) + (home-page "http://github.com/sagiegurari/fsio") + (synopsis "File System and Path utility functions in Rust") + (description + "This crate contains utility functions for path, file and directory handling. +There are multiple main modules for fsio: + +@enumerate +@item @code{fsio::path}: Holds path related functions and traits. +@item @code{fsio::file}: File utility functions such as read_file, write_file, etc. +@item @code{fsio::directory}: Directory specific utility functions. +@end enumerate") + (license license:asl2.0))) + (define-public rust-fs-set-times-0.19 (package (name "rust-fs-set-times") |