From 70f3d89bb9f7515e10fff60533aee39c9249703f Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Fri, 20 Nov 2020 08:26:57 -0600 Subject: gnu: Add rust-dirs-next-1. * gnu/packages/crates-io.scm (rust-dirs-next-1): New variable. Signed-off-by: Efraim Flashner --- 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 237405210c..1fcc5cafbd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7116,6 +7116,28 @@ 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-1 + (package + (inherit rust-dirs-1.0) + (name "rust-dirs-next") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "dirs-next" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1dl2dqzsrcb7qigfiwpdpakhdkpz0629pvylbj2ylyrkh1dfcdng")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-dirs-sys" ,rust-dirs-sys-next-0.1)))) + (home-page "https://github.com/xdg-rs/dirs") + (license (list license:expat license:asl2.0)))) + (define-public rust-dirs-sys-0.3 (package (name "rust-dirs-sys") -- cgit 1.4.1