From e9f26e3b7aef151a1e3dea25bdd47976722d7f40 Mon Sep 17 00:00:00 2001 From: TakeV Date: Thu, 28 Dec 2023 16:03:08 -0500 Subject: [PATCH] Add rust-directories-5 --- .guix/modules/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.guix/modules/crates-io.scm b/.guix/modules/crates-io.scm index 771b12f..d902585 100644 --- a/.guix/modules/crates-io.scm +++ b/.guix/modules/crates-io.scm @@ -1197,3 +1197,29 @@ Markdown parser and formatter") (description "Rocket integration for Askama templates") (license (list license:expat license:asl2.0)))) +(define-public rust-directories-5 + (package + (name "rust-directories") + (version "5.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "directories" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dba6xzk79s1clqzxh2qlgzk3lmvvks1lzzjhhi3hd70hhxifjcs")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-dirs-sys" ,rust-dirs-sys-0.4)) + #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1)))) + (home-page "https://github.com/soc/directories-rs") + (synopsis + "A tiny mid-level library that provides platform-specific standard locations of directories for config, cache and other data on Linux, Windows and macOS by leveraging the mechanisms defined by the XDG base/user directory specifications on Linux, the Known Folder API on Windows, and the Standard Directory guidelines on macOS.") + (description + "This package provides a tiny mid-level library that provides platform-specific +standard locations of directories for config, cache and other data on Linux, +Windows and @code{macOS} by leveraging the mechanisms defined by the XDG +base/user directory specifications on Linux, the Known Folder API on Windows, +and the Standard Directory guidelines on @code{macOS}.") + (license (list license:expat license:asl2.0)))) +