ngz pushed a commit to branch master
in repository guix.
commit a2b92ff6e6bb5238fcd19b57f2fd39ce3ef8ce0e
Author: Nicolas Goaziou <[email protected]>
AuthorDate: Wed Feb 10 17:24:16 2021 +0100
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 a4f9245..89c856b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11571,6 +11571,29 @@ floating-point primitives to an @code{io::Write}.")
"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")