From 22b2c6e0ed75b13c7dae7e64e3f7ec2c6f854c43 Mon Sep 17 00:00:00 2001 From: Wilko Meyer Date: Mon, 8 Jan 2024 02:51:47 +0100 Subject: 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 --- gnu/packages/crates-io.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'gnu/packages/crates-io.scm') 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") -- cgit 1.4.1