summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorAndrew Jose <arnav.jose@gmail.com>2023-09-21 18:14:47 +0530
committerEfraim Flashner <efraim@flashner.co.il>2023-09-28 21:17:18 +0300
commit5ede6e866135b1c7e16fd4bb07ff123db2b88d74 (patch)
treebed7f22a56faa7b74296d30843446cceb1c135cd /gnu/packages
parentaa69d140d304efe5a074d57eef63573c579f7d25 (diff)
downloadguix-5ede6e866135b1c7e16fd4bb07ff123db2b88d74.tar.gz
gnu: Add rust-executable-path-1.
* gnu/packages/crates-io.scm (rust-executable-path-1): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3c83563c45..ab29c86989 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31,6 +31,7 @@
 ;;; Copyright © 2022 Greg Hogan <code@greghogan.com>
 ;;; Copyright © 2022 Paul A. Patience <paul@apatience.com>
 ;;; Copyright © 2022 Paul Alesius <paul@unnservice.com>
+;;; Copyright © 2023 Arnav Andrew Jose <arnav.jose@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -23179,6 +23180,23 @@ You can use this crate to turn non-blocking data structures into async or
 blocking data structures.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-executable-path-1
+  (package
+    (name "rust-executable-path")
+    (version "1.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "executable-path" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0y0lhhrx9f9q1f81am3b20f8znixjcvqfg7kx220pjg3i5nmmg1y"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/casey/rust-executable-path")
+    (synopsis "Get the path of a binary target's executable")
+    (description "Get the path of a binary target's executable.")
+    (license license:cc0)))
+
 (define-public rust-executors-0.9
   (package
     (name "rust-executors")