Add rust-directories-5

This commit is contained in:
TakeV 2023-12-28 16:03:08 -05:00
parent 4ea0872ef1
commit e9f26e3b7a
Signed by: TakeV
GPG Key ID: A64F41345C7400AF
1 changed files with 26 additions and 0 deletions

View File

@ -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))))