diff options
author | Troy Figiel <troy@troyfigiel.com> | 2024-01-08 17:32:10 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:53 +0200 |
commit | ee4557f15e0fbe45a3951f45f0a898a55e2f2037 (patch) | |
tree | a497329c86379dd63581f5df27a6038370fd6d57 /gnu/packages | |
parent | cd879dab82b8e5ab25c472d600ba30d59398d436 (diff) |
gnu: Add rust-argfile-0.1.
* gnu/packages/crates-io.scm (rust-argfile-0.1): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 62a8ca3aad..10f55f372f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2652,6 +2652,35 @@ the pointer type is parameterizable.") @code{arg_enum}.") (license license:expat))) +(define-public rust-argfile-0.1 + (package + (name "rust-argfile") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "argfile" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xm5yq9r04k9zf0hlx47a4yv86np6iwpqczfcmg0iia15bwc91qj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-fs-err" ,rust-fs-err-2) + ("rust-os-str-bytes" ,rust-os-str-bytes-6) + ("rust-shlex" ,rust-shlex-1)) + #:cargo-development-inputs + (("rust-clap" ,rust-clap-4) + ("rust-wild" ,rust-wild-2)))) + (home-page "https://github.com/rust-cli/argfile") + (synopsis "Load additional CLI arguments from a file") + (description + "This library enables loading additional @acronym{CLI, +Command-Line Interface} arguments from a file. This is meant to work with any +CLI parser, like @code{rust-clap}, by pre-processing the arguments, like +@code{rust-wild}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-argh-shared-0.1 (package (name "rust-argh-shared") |