From patchwork Thu Jul 27 16:51:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 52254 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1619627BBEA; Thu, 27 Jul 2023 18:11:23 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6EA0227BBE2 for ; Thu, 27 Jul 2023 18:11:22 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qP4Dc-0003k3-RF; Thu, 27 Jul 2023 12:52:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qP4Db-0003io-EB for guix-patches@gnu.org; Thu, 27 Jul 2023 12:52:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qP4Db-0007Xe-6I for guix-patches@gnu.org; Thu, 27 Jul 2023 12:52:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qP4DZ-0001Tw-TA; Thu, 27 Jul 2023 12:52:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64905] [PATCH 01/10] gnu: Add rust-path-slash-0.2. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Thu, 27 Jul 2023 16:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64905 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64905@debbugs.gnu.org Cc: Hilton Chain , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 64905-submit@debbugs.gnu.org id=B64905.16904767015566 (code B ref 64905); Thu, 27 Jul 2023 16:52:01 +0000 Received: (at 64905) by debbugs.gnu.org; 27 Jul 2023 16:51:41 +0000 Received: from localhost ([127.0.0.1]:42994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qP4DE-0001Ri-Up for submit@debbugs.gnu.org; Thu, 27 Jul 2023 12:51:41 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:41410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qP4DD-0001RY-59 for 64905@debbugs.gnu.org; Thu, 27 Jul 2023 12:51:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1690476425; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=D39sblg0YOLSMLtT2cxj76dm63bYq0MUKePsacypJIY=; b=i5JhQWW7cFv0ucyU5BuDU65JS6u0z1oMqLNvSqwnwAVUF8IXgA95gu9U4MzCXSI8wyAXn3 mABbJtWok1k+EQNI0giUnAT/t29l1tsRPaAJnPNahr0YuY9YHx8lt/j8Z4ZoJmaB7WaeQQ DhOYgK1IflMkrZRkpVPTmhKEc5TJ9pYM2H+z8MQlO1vDE62yizIi/ja3fxmJFuUceYwsRF S9SPXhfTlX8mHZD/I0WPq9wHrlWT5pO1E3EXtR6yDC60dRlBAhs7QzAOSsCy4ZdyONKC3Z 9GvclcnUr7ABQW8VKMp58x1gvhPmZOB2CHpOYYf6cSB8tyYhk/AYt6i7gc0duw== Date: Fri, 28 Jul 2023 00:51:01 +0800 Message-ID: <0c268b559b961c1d21b725725f15fd42dbdf9d22.1690476218.git.hako@ultrarare.space> In-Reply-To: References: MIME-Version: 1.0 X-Spamd-Bar: -- Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches X-Patchwork-Original-From: Hilton Chain via Guix-patches via From: Hilton Chain Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-path-slash-0.2): New variable. --- 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 f9574e2797..e45b1c4c9b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -42680,6 +42680,28 @@ (define-public rust-path-clean-0.1 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")