From 0670a7b78ee7f24faefe64b0b4804398367310ca Mon Sep 17 00:00:00 2001 From: Jean-Pierre De Jesus DIAZ Date: Mon, 18 Jul 2022 00:29:11 +0200 Subject: [PATCH 02/24] gnu: rust-executable-path-1: New package. * gnu/packages/crates-io.scm (rust-executable-path-1): New variable. --- gnu/packages/crates-io.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e38136b3d6..99086140d4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20882,6 +20882,23 @@ (define-public rust-event-listener-2 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-exitcode-1 (package (name "rust-exitcode") -- 2.36.1