guix-commits
[Top][All Lists]
Advanced

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

01/12: gnu: Add rust-executable-path-1.


From: guix-commits
Subject: 01/12: gnu: Add rust-executable-path-1.
Date: Thu, 28 Sep 2023 14:18:16 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 5ede6e866135b1c7e16fd4bb07ff123db2b88d74
Author: Andrew Jose <arnav.jose@gmail.com>
AuthorDate: Thu Sep 21 18:14:47 2023 +0530

    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>
---
 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 <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")



reply via email to

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