From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 8Dy4JNkT+WW1aAAAe85BDQ:P1 (envelope-from ) for ; Tue, 19 Mar 2024 05:26:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 8Dy4JNkT+WW1aAAAe85BDQ (envelope-from ) for ; Tue, 19 Mar 2024 05:26:01 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=U7fJqoZN; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710822361; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=IFxQBDRziDCVtw7KC1soj1ZRJTndg5w2I6lUIk/5DJ4=; b=jsPqzcqOKf7J4Dyr9PjyvvK9gS+g2UybBxgA15Z64Ymshq0WlCx4Ec7dovsGN0dLNWEV0X D0io5nPG/NfACfjoaBjjq6VIbYK7toNw2FSRS1AKUBPss+HfGRDPLkRyX3VOhhlZBMZ38H UM3jg5CiJ+AYSQpNo1c1OrLGI69ecgjfYm7SgNaY5vmJIIxA88hU88QsZtLvD31Fk3tAJ1 cNGiiRm8s/kByi7a6FNhcbZFVsnlnuMRcfML+WaFC6Y7tCxK3j+UG2TVjA/xO97eDEsDOc MH2leiJkNAnIbfddtIKEL0wEOh7XDKnanSmwjPjW5RaTfOEeJckYvfrYH2ykkg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710822361; a=rsa-sha256; cv=none; b=U/B4NgigySLy8l3APdyMbZpVKSLHBIdS/ITnAEtb8pCzrA6uIGcg6kD06lDzi8k5ETuGHB x//RbNX73EZWxyWxTSSGwrz23Qw7RaxcjK9hdLg3evxFsiIaPZGLlyxGxyxr+0eZBd9WCD ZTd4v3VT+jWjQVuwmAgw+t6JGSpaAEBPCayCYThK+Puw3SdM4gqlsJ0XdxWk/uByibNxEk 0dhNiPxtzUT1mBmBuL/L9FgyS4gvr+RsjBC5JGnd2eryeQamjFouV4/rtiiSU8CZPrIE+8 94YaU5ENDF/mViLlDEJTDWquABOKrfJ9oXPRKDbkDEUFPOH8w05258sRTPosWg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=U7fJqoZN; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 70DEF3A31E for ; Tue, 19 Mar 2024 05:26:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmR2Y-0006tn-MJ; Tue, 19 Mar 2024 00:25:30 -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 1rmR2U-0006sh-Fa for guix-patches@gnu.org; Tue, 19 Mar 2024 00:25:26 -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 1rmR2T-0007wa-Fi for guix-patches@gnu.org; Tue, 19 Mar 2024 00:25:26 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmR34-0007mY-Kn; Tue, 19 Mar 2024 00:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69890] [PATCH 04/43] gnu: Add rust-which-6. Resent-From: normalmente Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 19 Mar 2024 04:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69890 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69890@debbugs.gnu.org Cc: normalmente , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69890-submit@debbugs.gnu.org id=B69890.171082232029802 (code B ref 69890); Tue, 19 Mar 2024 04:26:02 +0000 Received: (at 69890) by debbugs.gnu.org; 19 Mar 2024 04:25:20 +0000 Received: from localhost ([127.0.0.1]:36803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmR2O-0007ka-7m for submit@debbugs.gnu.org; Tue, 19 Mar 2024 00:25:20 -0400 Received: from mout01.posteo.de ([185.67.36.65]:39817) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQdS-0006RE-2Q for 69890@debbugs.gnu.org; Mon, 18 Mar 2024 23:59:35 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id C8BB3240027 for <69890@debbugs.gnu.org>; Tue, 19 Mar 2024 04:52:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710820370; bh=sEaSpZYoiZjCaC9fGB32y/jHsflX8WZA4MuboleM12M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=U7fJqoZNBvJ60xYxewcZePdyQFNzquuxHnJkdvV0pySUlnrdFGKFYvb1+E87hxuqF MzRYouTU9Rwrv6hEYs+TFW75IFi26roTi5wXr2oUbFHldWNNarZKGXykccJW07Fde4 R+lrP/1570RTeMeUXqSv7y0jahMDmr825Yybe/BVfK+IGRm/RAQTu4RI5MMt4RCbqA v1h5NH3I0s8/rJK2sMZjfl6SfIdxLXeoPs8FyVrTkFSsul6T3t8lAVp3yLVHfnNAbI NsjqF/5ZR+wNYYQslowP3iEDJtFcUBejMLvymuooJpEVPqK6i8Zwwu6/al417oMGaS UONykaoWAZdtQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TzHqk1Dcjz6tm4; Tue, 19 Mar 2024 04:52:49 +0100 (CET) From: normalmente Date: Tue, 19 Mar 2024 03:50:35 +0000 Message-ID: <440ea92d5f450aa18e306519d442685cd380749d.1710817680.git.normally_js@posteo.net> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.91 X-Spam-Score: -3.91 X-Migadu-Queue-Id: 70DEF3A31E X-Migadu-Scanner: mx11.migadu.com X-TUID: IpfQjf25wrbb * gnu/packages/crates-io.scm (rust-which-6): New variable. Change-Id: Ib45002331c9ab06ed2d4584028ad9254cce99208 --- gnu/packages/crates-io.scm | 46 ++++++++++++++++++++++++++++++-------- 1 file changed, 37 insertions(+), 9 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a50417eb89..f70e756037 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -78498,8 +78498,43 @@ (define-public rust-wepoll-sys-stjepang-1 using @code{bindgen}.") (license license:mpl2.0))) +(define-public rust-which-6 + (package + (name "rust-which") + (version "6.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "which" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "070hbvl3hjxywychmz7nj5gbsprdm38rir3kqnm48zzp1g0y19bz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files included. + "--skip=it_works") + #:cargo-inputs + (("rust-either" ,rust-either-1) + ("rust-home" ,rust-home-0.5) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-regex" ,rust-regex-1) + ("rust-rustix" ,rust-rustix-0.38) + ("rust-windows-sys" ,rust-windows-sys-0.52)) + #:cargo-development-inputs + (("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/harryfei/which-rs.git") + (synopsis "Rust equivalent of @command{which}") + (description + "This package provides a cross-platform Rust equivalent of the +Unix @command{which} command. It returns the full path of an installed +executable.") + (license license:expat))) + (define-public rust-which-5 (package + (inherit rust-which-6) (name "rust-which") (version "5.0.0") (source @@ -78514,7 +78549,6 @@ (define-public rust-which-5 '(begin (substitute* "Cargo.toml" (("\"= *([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) (string-append "\"^" version))))))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" @@ -78526,14 +78560,8 @@ (define-public rust-which-5 ("rust-regex" ,rust-regex-1) ("rust-rustix" ,rust-rustix-0.38) ("rust-windows-sys" ,rust-windows-sys-0.48)) - #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/harryfei/which-rs.git") - (synopsis "Rust equivalent of @command{which}") - (description - "This package provides a cross-platform Rust equivalent of the -Unix @command{which} command. It returns the full path of an installed -executable.") - (license license:expat))) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) + (define-public rust-which-4 (package -- 2.41.0