diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-05-22 16:52:02 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-08-14 19:37:53 +0300 |
commit | 08c19331530bba06d6881b4bb480326087395eec (patch) | |
tree | ad554d906c57d2a01e42d43d163fa852c142db9c /gnu/packages | |
parent | 60802f49a7cf0a9a641dc47d0ddd898f649d3d7c (diff) | |
download | guix-08c19331530bba06d6881b4bb480326087395eec.tar.gz |
gnu: Add rust-dirs-5.
* gnu/packages/crates-io.scm (rust-dirs-5): New variable. (rust-dirs-4): Inherit from rust-dirs-5.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9d6cc005d8..b5b8c63e2e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -19113,8 +19113,30 @@ platform-specific standard locations of directories for config, cache and other data.") (license (list license:expat license:asl2.0)))) +(define-public rust-dirs-5 + (package + (name "rust-dirs") + (version "5.0.1") + (source (origin + (method url-fetch) + (uri (crate-uri "dirs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0992xk5vx75b2x91nw9ssb51mpl8x73j9rxmpi96cryn0ffmmi24")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-dirs-sys" ,rust-dirs-sys-0.4)))) + (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-4 (package + (inherit rust-dirs-5) (name "rust-dirs") (version "4.0.0") (source @@ -19124,16 +19146,9 @@ other data.") (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)))) + (("rust-dirs-sys" ,rust-dirs-sys-0.3)))))) (define-public rust-dirs-3 (package |