From 449e09c90991fd03343b769423f1ed417673cbd2 Mon Sep 17 00:00:00 2001 From: Hilton Chain <hako@ultrarare.space> Date: Fri, 28 Jul 2023 01:17:08 +0800 Subject: [PATCH] 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> --- 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 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")