From f431cad053fe5e08027b96b75f1bb2bd53d1fa7d Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Fri, 20 Nov 2020 08:26:58 -0600 Subject: [PATCH] gnu: Add rust-directories-next-1. * gnu/packages/crates-io.scm (rust-directories-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 1fcc5cafbd..527a847b3f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7057,6 +7057,28 @@ on Linux, the Known Folder API on Windows, and the Standard Directory guidelines on macOS.") (license (list license:expat license:asl2.0)))) +(define-public rust-directories-next-1 + (package + (inherit rust-directories-3) + (name "rust-directories-next") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "directories-next" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0mmym1h9vlyapwlzygfas3q9mx03mki8cnf5y1bmr713q7mwqa4a")))) + (arguments + `(#:cargo-inputs + (("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"))) + (define-public rust-dirs-3 (package (name "rust-dirs")