summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaeme Sifat <jaeme@runbox.com>2023-12-29 19:40:15 -0500
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:01 +0200
commita802faedfcb3df4212582af5a0fa65012ca5e2ff (patch)
treec08ee7e75f07f5c7972afb6a4f1353a883e9a564
parentc7c0c228e82b2922544bb826286d0ef8279c1f90 (diff)
gnu: Add rust-run-script-0.10.
* gnu/packages/crates-io.scm (rust-run-script-0.10): New variable. Change-Id: I6e31c8be9b7f48082a1787fdb58593fbf864d753 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 471aff73b0..f1337393cf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59592,6 +59592,31 @@ console applications.")
structures with structural sharing.")
(license license:mpl2.0)))
+(define-public rust-run-script-0.10
+ (package
+ (name "rust-run-script")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "run_script" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ix9kf1b3h5vmdadpv7rfxylmj8mphlbx0xgv6frhy4dqpyri7w2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-fsio" ,rust-fsio-0.4))
+ #:cargo-development-inputs
+ (("rust-doc-comment" ,rust-doc-comment-0.3))))
+ (home-page "http://github.com/sagiegurari/run_script")
+ (synopsis "Run shell scripts in Rust")
+ (description "This library enables to invoke shell scripts based on their
+content. While @code{std::process::Command} works great to execute standalone
+command, you need more manual code to take a script text and execute it. For
+this purpose, this library was created.")
+ (license license:asl2.0)))
+
(define-public rust-runtime-0.3
(package
(name "rust-runtime")