diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-10 15:35:25 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-13 11:50:26 +0100 |
commit | b9bf6c222b6a255d9c07c0600808806b43ac3011 (patch) | |
tree | 695c49000beb4242591f8e0c830572b088f659a7 /gnu | |
parent | 7114aa4f7bac9b15e833e8fe03aebe09f3666808 (diff) | |
download | guix-b9bf6c222b6a255d9c07c0600808806b43ac3011.tar.gz |
gnu: Add rust-directories-next-2.
* gnu/packages/crates-io.scm (rust-directories-next-2): New variable. (rust-directories-next-1): Inherit from above.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 30 |
1 files changed, 27 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 00ca2f96d9..4303bbd7b1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10798,9 +10798,34 @@ Directory guidelines on macOS.") (("rust-cfg-if" ,rust-cfg-if-0.1) ("rust-dirs-sys" ,rust-dirs-sys-0.3)))))) +(define-public rust-directories-next-2 + (package + (name "rust-directories-next") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "directories-next" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1g1vq8d8mv0vp0l317gh9y46ipqg2fxjnbc7lnjhwqbsv4qf37ik")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-dirs-sys-next" ,rust-dirs-sys-next-0.1)))) + (home-page "https://github.com/xdg-rs/dirs/tree/master/directories") + (synopsis "Mid-level 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.") + (license (list license:expat license:asl2.0)))) + (define-public rust-directories-next-1 (package - (inherit rust-directories-3) + (inherit rust-directories-next-2) (name "rust-directories-next") (version "1.0.3") (source @@ -10817,8 +10842,7 @@ Directory guidelines on macOS.") (("rust-cfg-if" ,rust-cfg-if-1) ("rust-dirs-sys" ,rust-dirs-sys-next-0.1)) #:cargo-development-inputs - (("rust-bencher" ,rust-bencher-0.1)))) - (home-page "https://github.com/xdg-rs/dirs/tree/master/directories"))) + (("rust-bencher" ,rust-bencher-0.1)))))) (define-public rust-dirs-3 (package |