From: "Suhail Singh" <suhailsingh247@gmail.com>
To: 72467@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#72467] [PATCH 7/7] gnu: Add complgen.
Date: Sun, 04 Aug 2024 12:46:35 -0400 [thread overview]
Message-ID: <4be9dcda5bdce0434d7ae52cce30d707bc22be89.1722777393.git.suhail@bayesians.ca> (raw)
In-Reply-To: <cover.1722777393.git.suhail@bayesians.ca>
* gnu/packages/rust-apps.scm (complgen): New variable.
Change-Id: Icfd633a7f0038e4f19afe6af6921f117e188fd50
---
gnu/packages/rust-apps.scm | 44 ++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 7de25356c7..7045da36d6 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -390,6 +390,50 @@ (define-public cargo-machete
(description "@code{cargo-machete} finds unused dependencies in Cargo.toml.")
(license (list license:expat license:asl2.0))))
+(define-public complgen
+ (package
+ (name "complgen")
+ (version "0.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/adaszko/complgen")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "026bv2cync6qgdkn1ifhspy6z9v25plziqhnn58rlgffx2a0dqn2"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list
+ #:cargo-inputs `(("rust-anyhow" ,rust-anyhow-1)
+ ("rust-bumpalo" ,rust-bumpalo-3)
+ ("rust-chic" ,rust-chic-1)
+ ("rust-clap" ,rust-clap-4)
+ ("rust-env-logger" ,rust-env-logger-0.10)
+ ("rust-hashbrown" ,rust-hashbrown-0.13)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-nom" ,rust-nom-7)
+ ("rust-nom-locate" ,rust-nom-locate-4)
+ ("rust-railroad" ,rust-railroad-0.2)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-roaring" ,rust-roaring-0.10)
+ ("rust-slice-group-by" ,rust-slice-group-by-0.3)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-ustr" ,rust-ustr-0.9))
+ #:cargo-development-inputs `(("rust-proptest" ,rust-proptest-1))))
+ (native-inputs (list git))
+ (home-page "https://github.com/adaszko/complgen")
+ (synopsis "Declarative bash/fish/zsh completions without writing shell
+scripts")
+ (description
+ "@command{complgen} is a tool that allows you to generate
+completion scripts for all major shells (@code{bash}, @code{fish}, @code{zsh})
+from a single, concise, @code{EBNF}-like grammar.")
+ (license license:asl2.0)))
+
(define-public diffr
(package
(name "diffr")
--
2.46.0
next prev parent reply other threads:[~2024-08-04 16:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-04 16:36 [bug#72467] [PATCH 0/7] Add complgen Suhail Singh
2024-08-04 16:39 ` [bug#72467] [PATCH 1/7] gnu: Add rust-chic-1 Suhail Singh
2024-08-04 16:42 ` [bug#72467] [PATCH 2/7] gnu: Add rust-nom-locate-4 Suhail Singh
2024-08-04 16:43 ` [bug#72467] [PATCH 3/7] gnu: Add rust-railroad-0.2 Suhail Singh
2024-08-04 16:43 ` [bug#72467] [PATCH 4/7] gnu: Add rust-roaring-0.10 Suhail Singh
2024-08-04 16:44 ` [bug#72467] [PATCH 5/7] gnu: Add rust-slice-group-by-0.3 Suhail Singh
2024-08-04 16:44 ` [bug#72467] [PATCH 6/7] gnu: Add rust-ustr-0.9 Suhail Singh
2024-08-04 16:46 ` Suhail Singh [this message]
2024-08-30 20:57 ` bug#72467: [PATCH 0/7] Add complgen Nicolas Goaziou via Guix-patches via
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4be9dcda5bdce0434d7ae52cce30d707bc22be89.1722777393.git.suhail@bayesians.ca \
--to=suhailsingh247@gmail.com \
--cc=72467@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.