unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Jaeme Sifat via Guix-patches via <guix-patches@gnu.org>
To: 67958@debbugs.gnu.org
Cc: Jaeme Sifat <jaeme@runbox.com>, Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#67958] [PATCH 4/7] gnu: Add rust-which-5.
Date: Thu, 21 Dec 2023 15:55:02 -0500	[thread overview]
Message-ID: <88a6ed0f5e24e23fae53bc0d7bbb5ec0221b5626.1703191511.git.jaeme@runbox.com> (raw)
In-Reply-To: <cover.1703191510.git.jaeme@runbox.com>

* gnu/packages/crates-io.scm (rust-which-5): New variable.

Change-Id: I6a02f57efc2b80059c8a23ea51bff61cd0713825
---
 gnu/packages/crates-io.scm | 41 +++++++++++++++++++++++++++++---------
 1 file changed, 32 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8fbbe6a658..ea6d6eeb84 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -89608,25 +89608,28 @@ (define-public rust-wepoll-sys-stjepang-1
 using @code{bindgen}.")
     (license license:mpl2.0)))
 
-(define-public rust-which-4
+(define-public rust-which-5
   (package
     (name "rust-which")
-    (version "4.3.0")
+    (version "5.0.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "which" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0yybp94wikf21vkcl8b6w6l5pnd95nl4fxryz669l4lyxsxiz0qw"))))
+        (base32 "053fpbczryyn8lcbpkvwl8v2rzld0pr30r5lh1cxv87kjs2ymwwv"))))
     (build-system cargo-build-system)
     (arguments
-     (list #:skip-build? #t
-           #:cargo-inputs
-           `(("rust-either" ,rust-either-1)
-             ("rust-libc" ,rust-libc-0.2)
-             ("rust-once-cell" ,rust-once-cell-1)
-             ("rust-regex" ,rust-regex-1))))
+     `(#:cargo-test-flags '("--release" "--"
+                            "--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.9)
+                       ("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
@@ -89635,6 +89638,26 @@ (define-public rust-which-4
 executable.")
     (license license:expat)))
 
+(define-public rust-which-4
+  (package
+    (inherit rust-which-5)
+    (name "rust-which")
+    (version "4.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "which" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0yybp94wikf21vkcl8b6w6l5pnd95nl4fxryz669l4lyxsxiz0qw"))))
+    (arguments
+     (list #:skip-build? #t
+           #:cargo-inputs
+           `(("rust-either" ,rust-either-1)
+             ("rust-libc" ,rust-libc-0.2)
+             ("rust-once-cell" ,rust-once-cell-1)
+             ("rust-regex" ,rust-regex-1))))))
+
 (define-public rust-which-3
   (package
     (inherit rust-which-4)
-- 
2.41.0





  parent reply	other threads:[~2023-12-21 20:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-21 20:46 [bug#67958] [PATCH 0/7 rust-team] gnu: just: Update to 1.17.0 Jaeme Sifat via Guix-patches via
2023-12-21 20:54 ` [bug#67958] [PATCH 1/7] gnu: rust-regex-syntax-0.7: Update to 0.7.5 Jaeme Sifat via Guix-patches via
2023-12-21 20:55 ` [bug#67958] [PATCH 2/7] gnu: rust-regex-automata-0.3: Update to 0.3.9 Jaeme Sifat via Guix-patches via
2023-12-21 20:55 ` [bug#67958] [PATCH 3/7] gnu: Add rust-regex-1.9 Jaeme Sifat via Guix-patches via
2023-12-21 20:55 ` Jaeme Sifat via Guix-patches via [this message]
2023-12-21 20:55 ` [bug#67958] [PATCH 5/7] gnu: rust-heck-0.4: Update to 0.4.1 Jaeme Sifat via Guix-patches via
2023-12-21 20:55 ` [bug#67958] [PATCH 6/7] gnu: Add rust-strum-0.25 Jaeme Sifat via Guix-patches via
2023-12-21 20:55 ` [bug#67958] [PATCH 7/7] gnu: just: Update to 1.17.0 Jaeme Sifat via Guix-patches via
2023-12-26 11:45 ` bug#67958: [PATCH 0/7 rust-team] " Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=88a6ed0f5e24e23fae53bc0d7bbb5ec0221b5626.1703191511.git.jaeme@runbox.com \
    --to=guix-patches@gnu.org \
    --cc=67958@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    --cc=jaeme@runbox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).