aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2023-07-28 01:17:08 +0800
committerEfraim Flashner <efraim@flashner.co.il>2023-10-03 20:22:40 +0300
commit449e09c90991fd03343b769423f1ed417673cbd2 (patch)
tree54a646c9c732366f056796bab053d9c3f87db2d6 /gnu/packages/crates-io.scm
parent73fda55125a73a7508a72aecdd5580137925354c (diff)
downloadguix-449e09c90991fd03343b769423f1ed417673cbd2.tar.gz
guix-449e09c90991fd03343b769423f1ed417673cbd2.zip
gnu: Add rust-path-slash-0.2.
* gnu/packages/crates-io.scm (rust-path-slash-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b11f779514..1165f8b8a6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46026,6 +46026,28 @@ Rust with reasonable performance.")
path.Clean.")
(license (list license:expat license:asl2.0))))
+(define-public rust-path-slash-0.2
+ (package
+ (name "rust-path-slash")
+ (version "0.2.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "path-slash" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0hjgljv4vy97qqw9gxnwzqhhpysjss2yhdphfccy3c388afhk48y"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1))))
+ (home-page "https://github.com/rhysd/path-slash")
+ (synopsis "Rust library to convert a file path from/to slash path")
+ (description
+ "This package provides @code{path-slash}, a tiny library to convert a file
+path (e.g. @code{foo/bar}, @code{foo\\bar} or @code{C:\\foo\\bar}) from/to a
+slash path (e.g. @code{foo/bar}, @code{C:/foo/bar}).")
+ (license license:expat)))
+
(define-public rust-pathdiff-0.2
(package
(name "rust-pathdiff")