[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#56688] [PATCH 2/4] gnu: rust-dirs-4: Add rust-dirs 4.0.0.
From: |
muradm |
Subject: |
[bug#56688] [PATCH 2/4] gnu: rust-dirs-4: Add rust-dirs 4.0.0. |
Date: |
Fri, 22 Jul 2022 06:26:12 +0300 |
* gnu/packages/crates-io.scm (rust-dirs-4): New variable.
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bf3fd75750..6d7d41ef03 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18152,6 +18152,28 @@ (define-public rust-directories-next-1
#:cargo-development-inputs
(("rust-bencher" ,rust-bencher-0.1))))))
+(define-public rust-dirs-4
+ (package
+ (name "rust-dirs")
+ (version "4.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dirs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0n8020zl4f0frfnzvgb9agvk4a14i1kjz4daqnxkgslndwmaffna"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-dirs-sys" ,rust-dirs-sys-0.3))))
+ (home-page "https://github.com/soc/dirs-rs")
+ (synopsis "Abstractions for standard locations for various platforms")
+ (description
+ "This package is a tiny low-level library that provides platform-specific
+standard locations of directories for config, cache and other data.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-dirs-3
(package
(name "rust-dirs")
--
2.36.1