diff options
author | Valentin Ignatev <valentignatev@gmail.com> | 2020-01-19 02:20:11 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-02-22 23:39:31 +0200 |
commit | 5ccc095b83bc67c74940dd76e27f0b26b3505f46 (patch) | |
tree | de4a2807c6b50d10334c58d6c917fb1d7d2294f9 /gnu/packages/crates-io.scm | |
parent | 6be9107582ca8bb36dcf651840ebbfecde928e8f (diff) | |
download | patches-5ccc095b83bc67c74940dd76e27f0b26b3505f46.tar patches-5ccc095b83bc67c74940dd76e27f0b26b3505f46.tar.gz |
gnu: Add rust-fs2-0.2.
* gnu/packages/crates-io.scm (rust-fs2-0.2): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7a3a99ad2a..4056bda330 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4380,6 +4380,34 @@ implementation that is more efficient for smaller hash keys.") process and much more.") (license license:expat))) +(define-public rust-fs2-0.2 + (package + (name "rust-fs2") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "fs2" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1vsih93cvds3x6f3w9bc5rnkyv8haix1px4jpcqvjyd9l7ji9m5w")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f + #:cargo-inputs + (("rust-kernel32-sys" ,rust-kernel32-sys-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.2)) + #:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir-0.3)))) + (home-page "https://github.com/danburkert/fs2-rs") + (synopsis "File locks and file duplication") + (description + "This package provides cross-platform file locks and file duplication.") + (license (list license:expat license:asl2.0)))) + (define-public rust-fuchsia-cprng-0.1 (package (name "rust-fuchsia-cprng") |