aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 17:24:16 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:33 +0100
commita2b92ff6e6bb5238fcd19b57f2fd39ce3ef8ce0e (patch)
tree3bd7f09509c126303e9b8f56151b5af0af2a0ea6 /gnu/packages/crates-io.scm
parentaf3ba22663c17990b75bd23ddf17447f93b0d18d (diff)
downloadguix-a2b92ff6e6bb5238fcd19b57f2fd39ce3ef8ce0e.tar.gz
guix-a2b92ff6e6bb5238fcd19b57f2fd39ce3ef8ce0e.zip
gnu: Add rust-dunce-1.
* gnu/packages/crates-io.scm (rust-dunce-1): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
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 @@ 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")