guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20/37: gnu: Add rust-which-1.0.


From: guix-commits
Subject: 20/37: gnu: Add rust-which-1.0.
Date: Sat, 22 Feb 2020 16:40:00 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 73a51ad01d0aefdccf140b0f51fdad5af2e4aae8
Author: Valentin Ignatev <address@hidden>
AuthorDate: Sun Jan 19 02:02:52 2020 +0300

    gnu: Add rust-which-1.0.
    
    * gnu/packages/crates-io.scm (rust-which-1.0): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3ed7135..c6825dc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16059,6 +16059,27 @@ attribute that is not in the shared backend crate.")
 Locate installed executable in cross platforms.")
     (license license:expat)))
 
+(define-public rust-which-1.0
+  (package
+    (inherit rust-which-2.0)
+    (name "rust-which")
+    (version "1.0.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "which" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1cjwa57kzfgzs681a27m5pjmq580pv3hkcg23smf270bgqz60jp8"))))
+    (arguments
+     `(#:tests? #f
+       #:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2))
+       #:cargo-development-inputs
+       (("rust-tempdir" ,rust-tempdir-0.3))))))
+
 (define-public rust-widestring-0.4
   (package
     (name "rust-widestring")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]