From 2a3ff29d77114ffe8975c7316703168920d7eb30 Mon Sep 17 00:00:00 2001 From: Jaeme Sifat Date: Fri, 29 Dec 2023 19:40:19 -0500 Subject: [PATCH] gnu: Add rust-etcetera-0.8. * gnu/packages/crates-io.scm (rust-etcetera-0.8): New variable. Change-Id: I363cb9361f6d453f42501d9270114cd0e609c640 Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5f7bdfdd31..fdfe61141d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -23869,6 +23869,32 @@ decoding.") (("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1)))))) +(define-public rust-etcetera-0.8 + (package + (name "rust-etcetera") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "etcetera" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hxrsn75dirbjhwgkdkh0pnpqrnq17ypyhjpjaypgax1hd91nv8k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-home" ,rust-home-0.5) + ("rust-windows-sys" ,rust-windows-sys-0.48)))) + (home-page "https://github.com/lunacookies/etcetera") + (synopsis + "Library for obtaining configuration, data, cache, & other directories") + (description + "This is a Rust library that allows you to determine the locations of +configuration, data, cache & other files for your application. Existing Rust +libraries generally do not give you a choice in terms of which standards/conventions +they follow. Etcetera, on the other hand, gives you the choice.") + (license (list license:expat license:asl2.0)))) + (define-public rust-ethbloom-0.11 (package (name "rust-ethbloom")