diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-10 15:33:05 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-13 11:50:25 +0100 |
commit | 7114aa4f7bac9b15e833e8fe03aebe09f3666808 (patch) | |
tree | b1f039874031f8884d01a421c0aaa8071bcd0942 | |
parent | f6fd9bbca7c503018a5d1a8c59b4df6b32be7261 (diff) | |
download | guix-7114aa4f7bac9b15e833e8fe03aebe09f3666808.tar guix-7114aa4f7bac9b15e833e8fe03aebe09f3666808.tar.gz |
gnu: Add rust-dirs-next-2.
* gnu/packages/crates-io.scm (rust-dirs-next-2): New variable.
(rust-dirs-next-1): Inherit from above.
-rw-r--r-- | gnu/packages/crates-io.scm | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 04d38475fa..00ca2f96d9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10879,9 +10879,34 @@ standard locations of directories for config, cache and other data.") ("rust-redox-users" ,rust-redox-users-0.3) ("rust-winapi" ,rust-winapi-0.3)))))) +(define-public rust-dirs-next-2 + (package + (name "rust-dirs-next") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "dirs-next" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1q9kr151h9681wwp6is18750ssghz6j9j7qm7qi1ngcwy7mzi35r")))) + (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") + (synopsis "Abstractions for standard locations for various platforms") + (description + "This package provides 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-next-1 (package - (inherit rust-dirs-1) + (inherit rust-dirs-next-2) (name "rust-dirs-next") (version "1.0.2") (source |