From patchwork Sun Aug 4 16:46:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suhail Singh X-Patchwork-Id: 66681 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CA7D027BBE9; Sun, 4 Aug 2024 17:49:00 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9F5F527BBE2 for ; Sun, 4 Aug 2024 17:48:58 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1saePT-0000D7-1C; Sun, 04 Aug 2024 12:48:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1saePR-0000Cd-3B for guix-patches@gnu.org; Sun, 04 Aug 2024 12:48:41 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1saePQ-0001jw-Q3 for guix-patches@gnu.org; Sun, 04 Aug 2024 12:48:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=wudp5jSSm3UUCrlBwHavkH3R6S+daLQ+yPx37+DFUe8=; b=cEmbfn3Br4T0KL/pcwxacbbJq2u6QVPzFaqbWrw/hyCLgURoASPrvVUqkI+LgvR7EfjOcSOpV6M4ywrxhrGDHTH43o0ewsr046kQN0Y8dCtYX4tPimPBhTUps36tlE7eShXhVXBLya6mxsKTdaa4ziqw7uJGqth0MGM6CqEtFaENTu7RrUJdrDNiNbUmIwp2fGsgtULifLzM+OWsAFDYbf14ilvT6+Mwl2mnuRWrRo+MbUsINVqDzuhqSzzDge1e478khjE5JpeHFmId93qxJjLTPsHPBGb7hDZyXzHoseBNejDL7R7WBIGXz5u5NtxZ1wlyIXmJ7QYh45BMbh2y5Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1saePl-0008RH-VI; Sun, 04 Aug 2024 12:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72467] [PATCH 7/7] gnu: Add complgen. Resent-From: "Suhail Singh" Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sun, 04 Aug 2024 16:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72467 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72467@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 72467-submit@debbugs.gnu.org id=B72467.172279008632250 (code B ref 72467); Sun, 04 Aug 2024 16:49:01 +0000 Received: (at 72467) by debbugs.gnu.org; 4 Aug 2024 16:48:06 +0000 Received: from localhost ([127.0.0.1]:57109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saeOr-0008O6-Sd for submit@debbugs.gnu.org; Sun, 04 Aug 2024 12:48:06 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:41239) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saeOp-0008NJ-OT for 72467@debbugs.gnu.org; Sun, 04 Aug 2024 12:48:04 -0400 Received: by mail-oi1-f193.google.com with SMTP id 5614622812f47-3db1bf000a0so950827b6e.1 for <72467@debbugs.gnu.org>; Sun, 04 Aug 2024 09:47:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722789996; x=1723394796; darn=debbugs.gnu.org; h=mime-version:user-agent:date:references:message-id:in-reply-to :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=wudp5jSSm3UUCrlBwHavkH3R6S+daLQ+yPx37+DFUe8=; b=Yd/Pmuap9pro43+MbHNLR6d7QlEPK3hL4W185y9eIuGCetGUjr3PBFEfjYlIrTObAM auM1xvD7h8Kncdc+Ypec2GVPOAFfo96fM+uLvxh4H0SWk6OaOVcpDVvjN4guJ5IVLwx8 NVA+mYMHHBXixVuCKcEnaUTdB+T15KLsjgcCcv/uYjWccKZt+vpg0uRxy0/0LGxBB12q 2zHaAMBNEplaPBKoj1ZF/C7bb9YF5GEG0EaJRMNH9L7DGOEW1uzgxNzqldQcCoerONUV NdSzVvGlnrNPH8JwEdZY3f3UmVY+9EkTjYEAEsJ6JPGghetzyhDX8ZINlYxQljTuuEQY NIjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722789996; x=1723394796; h=mime-version:user-agent:date:references:message-id:in-reply-to :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=wudp5jSSm3UUCrlBwHavkH3R6S+daLQ+yPx37+DFUe8=; b=Tty/t7tZjqzz9cee8oOMf1izcK7iSExMLOPeLrNQ8auH8iu6p+6FvOEr/mYDIb2vyp v0sAkgqHpLmiOLtgbBBu5F0StpwGLhVYEGRgtzyc/mPNpHJ81SBtJ9wObRpzMbBHi80M 8g+1Aqlx0I2db8QX05iatoS0pp8tcMpXQgwDjFStroAbEvleshH8fxSfnp9QcrJLQbCr u/PI23NvICNrZEkP/oq5qjzfvOeJz0MgOeACjDMKaceaMBs09Egt4Lr50fM4F9/FXutf 6MpIpyKoDO8fbgWIMNMM7Z5ggoLNfqbMkMtFlKEJSAUSqJNuEzA6U3PtPryTlp7Pj9tN 5vSg== X-Gm-Message-State: AOJu0YzBn8wB3f8TZjMaWYMt8pyRja+Dqwr/w4h0+W2co2R2PzPgl7CL cznazzkUJhlA/+7bWEUnMpE6LKyNwLpNHTkN1TsDVbnipL2D7Dbli0mMU0eg X-Google-Smtp-Source: AGHT+IHCY2fJ9Z+yOhqxs+27EgDdLIFlYDuJm8pwRui7uUzKTrf7yKasNJBGuCuMACwVkZhYSDEZbQ== X-Received: by 2002:a05:6358:418f:b0:1ac:a26c:a07a with SMTP id e5c5f4694b2df-1af3baf4c0fmr524993355d.4.1722789996423; Sun, 04 Aug 2024 09:46:36 -0700 (PDT) Received: from gnus (bras-base-mtrlpq0776w-grc-16-65-93-169-47.dsl.bell.ca. [65.93.169.47]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7a34f7968eesm269388785a.135.2024.08.04.09.46.35 for <72467@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Aug 2024 09:46:36 -0700 (PDT) From: "Suhail Singh" In-Reply-To: Message-ID: <4be9dcda5bdce0434d7ae52cce30d707bc22be89.1722777393.git.suhail@bayesians.ca> References: Date: Sun, 04 Aug 2024 12:46:35 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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")