From patchwork Thu Jul 27 17:17:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 52265 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 6755A27BBE2; Thu, 27 Jul 2023 18:27:04 +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 C8B8927BBE2 for ; Thu, 27 Jul 2023 18:27:03 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qP4dl-0005BN-6Q; Thu, 27 Jul 2023 13:19:05 -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 1qP4dj-0005AO-AZ for guix-patches@gnu.org; Thu, 27 Jul 2023 13:19: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 1qP4dj-0005nN-0c for guix-patches@gnu.org; Thu, 27 Jul 2023 13:19:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qP4di-0002Bo-7y; Thu, 27 Jul 2023 13:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64905] [PATCH v2 1/8] 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 17:19:02 +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.16904782838255 (code B ref 64905); Thu, 27 Jul 2023 17:19:02 +0000 Received: (at 64905) by debbugs.gnu.org; 27 Jul 2023 17:18:03 +0000 Received: from localhost ([127.0.0.1]:43066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qP4cl-000294-A5 for submit@debbugs.gnu.org; Thu, 27 Jul 2023 13:18:03 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:33874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qP4cj-00028f-1j for 64905@debbugs.gnu.org; Thu, 27 Jul 2023 13:18:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1690478005; 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=IZRZQJpV8Rxf9xzFIRRfheUu8ksjPQHWng99OSI4KbxNP05dffQxK+CYhn9X3oXIi3Isoi bLx1tFhELLVsVh9W6lYy/WGKlE2exuHVf4BkeFA1BGCifahb3sT4oh1Yw+qEDQIN/7z2uO 0Q5lAYeGA12Zu0V6MLi7qhdlgtTNgnZRk1E/KfbT9ciNy42KMGgtRQI/WXEvyPSssf9JQG iw/8gt05nQ+hCntHERWDk1CI1bnxKiMj8ugBXlfhsFLXjsNLUeLiNecig3PSWD9CUSGtcW cQQL5cDiWT4JpBK13nqJa74jkSP9TOCrPHNvGY/2ZrgX7SLR+FXw7vo6Kc+a0Q== Date: Fri, 28 Jul 2023 01:17:08 +0800 Message-ID: <0c268b559b961c1d21b725725f15fd42dbdf9d22.1690477886.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")