From a2b92ff6e6bb5238fcd19b57f2fd39ce3ef8ce0e Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 10 Feb 2021 17:24:16 +0100 Subject: [PATCH] gnu: Add rust-dunce-1. * gnu/packages/crates-io.scm (rust-dunce-1): New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a4f924555c..89c856be05 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11571,6 +11571,29 @@ (define-public rust-duct-0.13 "A library for running child processes.") (license license:expat))) +(define-public rust-dunce-1 + (package + (name "rust-dunce") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "dunce" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1d7f7wg83i1by16rxc1fdipi872nvkzjnmzaaggh2h8cgi51qr5j")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) + (home-page "https://gitlab.com/kornelski/dunce") + (synopsis "Normalize Windows paths to the most compatible format") + (description + "This crate converts Windows UNC paths to the MS-DOS-compatible format +whenever possible, but leaves UNC paths as-is when they can't be unambiguously +expressed in a simpler way. This allows legacy programs to access all paths +they can possibly access, and doesn't break any paths for UNC-aware +programs.") + (license license:cc0))) + (define-public rust-dyn-clone-1 (package (name "rust-dyn-clone")