diff mbox series

[bug#74551,rust-team,v3,16/73] gnu: Add rust-pathsearch-0.2.

Message ID 20241203030059.1214554-17-aaron.covrig.us@ieee.org
State New
Headers show
Series Building starship | expand

Commit Message

Aaron Covrig Dec. 3, 2024, 2:59 a.m. UTC
From: Jordan Moore <lockbox@struct.foo>

* gnu/packages/crates-io.scm (rust-pathsearch-0.2): New variable.
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 079123e93c..574be15675 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -54653,6 +54653,26 @@  (define-public rust-pathdiff-0.2
 path.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-pathsearch-0.2
+  (package
+    (name "rust-pathsearch")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pathsearch" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "01bvjyighsrb5bgk8vcwlr1mjv6pqxk4n2qrkhbigaw2wp2kp66s"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-libc" ,rust-libc-0.2))))
+    (home-page "https://github.com/wez/wzsh")
+    (synopsis "Search for files in PATH")
+    (description "This package provides Search for files in PATH.")
+    (license license:expat)))
+
 (define-public rust-pcap-1
   (package
     (name "rust-pcap")