unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Troy Figiel <troy@troyfigiel.com>
To: 68327@debbugs.gnu.org
Subject: [bug#68327] [PATCH] gnu: Add rust-argfile-0.1.
Date: Mon, 8 Jan 2024 17:32:10 +0100	[thread overview]
Message-ID: <87cyubiy2d.fsf@troyfigiel.com> (raw)

* gnu/packages/crates-io.scm (rust-argfile-0.1): New variable.
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1bfd8fb143..d581ad60ae 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4148,6 +4148,35 @@ (define-public rust-arg-enum-proc-macro-0.3
 @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")

base-commit: 5f8a993aa85554ca09bd27139230d7664107e1b6
-- 
2.42.0





             reply	other threads:[~2024-01-08 16:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-08 16:32 Troy Figiel [this message]
2024-01-19  9:38 ` bug#68327: [PATCH] gnu: Add rust-argfile-0.1 Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87cyubiy2d.fsf@troyfigiel.com \
    --to=troy@troyfigiel.com \
    --cc=68327@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).