diff options
author | Wilko Meyer <w@wmeyer.eu> | 2024-01-08 02:51:47 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:48 +0200 |
commit | 22b2c6e0ed75b13c7dae7e64e3f7ec2c6f854c43 (patch) | |
tree | adde909fbca4825543642111ff61a724c29c34bb /gnu/packages/crates-io.scm | |
parent | 8f3afb9f3adc81377bfe3e53e586cfc0fabde255 (diff) | |
download | guix-22b2c6e0ed75b13c7dae7e64e3f7ec2c6f854c43.tar.gz |
gnu: Add rust-atomic-write-file-0.1.
* gnu/packages/crates-io.scm (rust-atomic-write-file-0.1): New variable. Change-Id: Iacb125736e44a46c2c986f25586a6f91489c2084 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 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3e9510bf05..5dffaa7d37 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5005,6 +5005,26 @@ they're not available.") they're not available.") (license (list license:expat license:asl2.0)))) +(define-public rust-atomic-write-file-0.1 + (package + (name "rust-atomic-write-file") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "atomic-write-file" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dl4x0srdwjxm3zz3fj1c7m44i3b7mjiad550fqklj1n4bfbxkgd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-nix" ,rust-nix-0.27) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/andreacorbellini/rust-atomic-write-file") + (synopsis "Write files atomically to a file system") + (description "Write files atomically to a file system.") + (license license:bsd-3))) + (define-public rust-atomic-waker-1 (package (name "rust-atomic-waker") |