@@ -21673,6 +21673,34 @@ (define-public rust-digest-0.6
functions.")
(license (list license:expat license:asl2.0))))
+(define-public rust-directories-5
+ (package
+ (name "rust-directories")
+ (version "5.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "directories" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1acv0z7vi7b8z0qn2xd8zirw8axva9351p1vwjfhi3n117l3pgkl"))))
+ (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/dirs-dev/directories-rs")
+ (synopsis "Library for standard locations of data directories")
+ (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 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.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-directories-4
(package
(name "rust-directories")