unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#68327] [PATCH] gnu: Add rust-argfile-0.1.
@ 2024-01-08 16:32 Troy Figiel
  2024-01-19  9:38 ` bug#68327: " Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: Troy Figiel @ 2024-01-08 16:32 UTC (permalink / raw)
  To: 68327

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#68327: [PATCH] gnu: Add rust-argfile-0.1.
  2024-01-08 16:32 [bug#68327] [PATCH] gnu: Add rust-argfile-0.1 Troy Figiel
@ 2024-01-19  9:38 ` Efraim Flashner
  0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2024-01-19  9:38 UTC (permalink / raw)
  To: Troy Figiel; +Cc: 68327-done

[-- Attachment #1: Type: text/plain, Size: 260 bytes --]

Thanks. Patch pushed to the rust-team branch.

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-19  9:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-08 16:32 [bug#68327] [PATCH] gnu: Add rust-argfile-0.1 Troy Figiel
2024-01-19  9:38 ` bug#68327: " Efraim Flashner

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