[bug#77382,rust-team,07/18] gnu: Add rust-execute-0.2.

Message ID 694cf54878a6cfb8107033a7c12f9713fdf79409.1743337577.git.gabrielsantosdesouza@disroot.org
State New
Headers
Series gnu: Add matugen. |

Commit Message

Gabriel Santos March 30, 2025, 12:26 p.m. UTC
  * gnu/packages/crates-io.scm (rust-execute-0.2): New variable.

Change-Id: I15622b3237950fad3cf73b71f92c3490a353106d
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 54cc24527c..077ce6ad07 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -76,6 +76,7 @@  (define-module (gnu packages crates-io)
   #:use-module (guix gexp)
   #:use-module (guix utils)
   #:use-module (gnu packages)
+  #:use-module (gnu packages algebra)
   #:use-module (gnu packages acl)
   #:use-module (gnu packages admin)
   #:use-module (gnu packages aidc)
@@ -26056,6 +26057,32 @@  (define-public rust-execute-command-macro-0.1
 by using a @code{command!} macro.")
     (license license:expat)))
 
+(define-public rust-execute-0.2
+  (package
+    (name "rust-execute")
+    (version "0.2.13")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "execute" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "046s3a33v4klqs4az69i4byvz1xpqb9visarnvm6mrvcx67610is"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-execute-command-macro" ,rust-execute-command-macro-0.1)
+        ("rust-execute-command-tokens" ,rust-execute-command-tokens-0.1)
+        ("rust-generic-array" ,rust-generic-array-1))))
+    (native-inputs (list bc)) ; Test picks this command as an example.
+    (home-page "https://magiclen.org/execute")
+    (synopsis
+     "Library for extending @code{Command} to ease program execution")
+    (description
+     "This package provides a library that extends @code{Command},
+allowing for a more pratical experience when executing programs.")
+    (license license:expat)))
+
 (define-public rust-executors-0.9
   (package
     (name "rust-executors")