From 5ede6e866135b1c7e16fd4bb07ff123db2b88d74 Mon Sep 17 00:00:00 2001 From: Andrew Jose Date: Thu, 21 Sep 2023 18:14:47 +0530 Subject: [PATCH] gnu: Add rust-executable-path-1. * gnu/packages/crates-io.scm (rust-executable-path-1): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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 ;;; Copyright © 2022 Paul A. Patience ;;; Copyright © 2022 Paul Alesius +;;; Copyright © 2023 Arnav Andrew Jose ;;; ;;; 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")