From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wD4aABLNr2AObwAAgWs5BA (envelope-from ) for ; Thu, 27 May 2021 18:47:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id KAhwNxHNr2B/WAAAB5/wlQ (envelope-from ) for ; Thu, 27 May 2021 16:47:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9347C2C728 for ; Thu, 27 May 2021 18:47:13 +0200 (CEST) Received: from localhost ([::1]:40094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmJA8-0004zn-5v for larch@yhetil.org; Thu, 27 May 2021 12:47:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmJ9y-0004zU-4X for guix-patches@gnu.org; Thu, 27 May 2021 12:47:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41158) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmJ9x-0003wl-RN for guix-patches@gnu.org; Thu, 27 May 2021 12:47:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lmJ9x-0004U2-OS for guix-patches@gnu.org; Thu, 27 May 2021 12:47:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48630] [PATCH] adds `ack' package and it's perl module dependency File::Next Resent-From: Gabriel Wicki Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 27 May 2021 16:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48630 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Xinglu Chen Cc: 48630@debbugs.gnu.org Received: via spool by 48630-submit@debbugs.gnu.org id=B48630.162213397214762 (code B ref 48630); Thu, 27 May 2021 16:47:01 +0000 Received: (at 48630) by debbugs.gnu.org; 27 May 2021 16:46:12 +0000 Received: from localhost ([127.0.0.1]:52704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmJ99-0003pR-T5 for submit@debbugs.gnu.org; Thu, 27 May 2021 12:46:12 -0400 Received: from chimborazo.ee.ethz.ch ([129.132.2.15]:47975) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmJ94-0003ej-T3 for 48630@debbugs.gnu.org; Thu, 27 May 2021 12:46:10 -0400 Received: from silver (212-51-128-14.fiber7.init7.net [212.51.128.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gabriel) by chimborazo.ee.ethz.ch (Postfix) with ESMTPSA id 12AAE40315; Thu, 27 May 2021 18:46:00 +0200 (CEST) Date: Thu, 27 May 2021 18:45:55 +0200 From: Gabriel Wicki Message-ID: <20210527164555.vg2xqiaafkii4x4o@silver> References: <20210524191054.7wtb4wopstgx2c77@silver> <20210525221326.tadqgibhes4bbyyl@silver> <875yz43ca3.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ylrrrm3ruo2h3tdz" Content-Disposition: inline In-Reply-To: <875yz43ca3.fsf@yoctocell.xyz> 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622134033; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=5rOqoZeemrptvKl6TqTnJHYEp9iznkkMLhgVDTeffHQ=; b=VVaa6wusaL2goZYVcqy+YV7m5EEEPnT2kLusz6BNxsvVHFt9n/U0A2kxOaql5U9CGo8gNu TtxQTHIYOZBtqnIaZ3+9QQ/KgSikNSvg6a8wQ508iohUYlF6clchXUODYojRz7w2T1C/tI VWkV8Cq0GNbgzDrwsqiNFe4ODgy394ZxTRGFkxdsXxVx6ANDzqPnTUtRsd65OUZf8YXfQZ VvoDUAAV2w6eoLtTK4C0zB8TWkpNzywqRrucNBimXkWDYC1362WHH/HfnbYBGwZ/VG8cEo OGmW6qluz4yhc1YYwcT8FEFKVjJe7peFqv4SG6sZFLjYGXDh6NMaXiqCQogtsw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622134033; a=rsa-sha256; cv=none; b=kw5xiqFaLi/hCoZKHEGwpZC0m5BwW5C/zD2PnJWl81bkKONrwaNawWzRQkvGoQhJW3nP+M NidLnYs02/E+xdj1srQ5/pXpYuDq2buiREx00sSvcaoP/4QAJi+ktwm5jRA58ro6dmuXgu rsucOCsNHhKSLYRW4Jf80ELGbs31vc5b9EiHejuF0ZvkpuDpUlH94eR1VquUhqj4nA9fTT W+4uzKJHzgjOCpLDj48Z72FRdpeZVWP1k+brqK3pHB6I+r85+iCLZsVzl9FrCWuF5FqRRM Pe5W560JtyslZ/hERuKwXVCNEmEBuuyFiDC8BfatP5RuwtvwFO1BHyTQFoMtCQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -4.03 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 9347C2C728 X-Spam-Score: -4.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: 72yTptKGCr9L --ylrrrm3ruo2h3tdz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 27, 2021 at 08:45:40AM +0200, Xinglu Chen wrote: > Apart from the commit message not conforming to the ChangeLog format[1], > looks good to me. Sorry for that! I hope i got it right, now :) =46rom 6bd756812bfc684ca92c4aa9c9d3d573b6bb5717 Mon Sep 17 00:00:00 2001 =46rom: Gabriel Wicki Date: Thu, 27 May 2021 18:33:19 +0200 Subject: [PATCH] add package perl-file-next * gnu/packages/perl.scm (perl-file-next): New variable. --- gnu/packages/perl.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index d35508112f..4f36fc3e44 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -4654,6 +4654,25 @@ provided base directory and can return files (and/or= directories if desired) matching a regular expression.") (home-page "https://metacpan.org/release/File-List"))) =20 +(define-public perl-file-next + (package + (name "perl-file-next") + (version "1.18") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/petdance/file-next") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0zdrxk409qxkbbv4fl4wi285kfzyrpaja9wfl00vrxc078rs4afm")))) + (build-system perl-build-system) + (synopsis "Lightweight, taint-safe file-finding Perl module") + (description "File::Next is a Perl CPAN module for finding files.") + (home-page "https://metacpan.org/pod/File::Next") + (license license:artistic2.0))) + (define-public perl-file-readbackwards (package (name "perl-file-readbackwards") --=20 2.30.2 =46rom 499cf536648320a628cc7aef2606b8817220f27d Mon Sep 17 00:00:00 2001 =46rom: Gabriel Wicki Date: Thu, 27 May 2021 18:40:56 +0200 Subject: [PATCH] add package ack * gnu/packages/textutils.scm (ack): New variable. --- gnu/packages/textutils.scm | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index ab34373705..1df5050f30 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -45,6 +45,7 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system cmake) + #:use-module (guix build-system perl) #:use-module (guix build-system python) #:use-module (guix utils) #:use-module (gnu packages) @@ -59,6 +60,7 @@ #:use-module (gnu packages pcre) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages perl) #:use-module (gnu packages python) #:use-module (gnu packages python-build) #:use-module (gnu packages python-xyz) @@ -1304,3 +1306,40 @@ languages such as HTML, Markdown, Asciidoc, and reSt= ructuredText. The community around it also has a list of style guides implemented with Vale in @url{https://github.com/errata-ai/styles, their styles repo}.") (license license:expat))) + +(define-public ack + (package + (name "ack") + (version "3.5.0") + (source (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/beyondgrep/ack3") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "00131vqjbzcn6w22m0h3j6x9kp59dimfnnqhpmi78vbcj0jws1dv= ")))) + (build-system perl-build-system) + (arguments '(#:tests? #t + #:phases (modify-phases + %standard-phases + (add-after 'patch-generated-file-shebangs 'patch= -more-shebangs + (lambda* (#:key inputs #:allow-other-= keys) + (let ((perl (string-append + (assoc-ref inputs "per= l") + "/bin/perl"))) + (substitute* "t/ack-type.t" + (("/usr/bin/perl") + perl) + (("/usr/bin/env perl= ") + perl)))))))) + (propagated-inputs `(("perl-file-next" ,perl-file-next))) + (synopsis "Code-searching tool optimized for programmers with large tre= es +of source code") + (description "ack is a tool for finding text inside files. It is desig= ned for +hackers and programmers by being fast, ignoring VCS directories, letting a= user +easily specify file types, match highlighting, Perl-Compatible Regular +Expressions, and being faster to type than grep.") + (home-page "https://beyondgrep.com/") + (license license:artistic2.0))) --=20 2.30.2 --ylrrrm3ruo2h3tdz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEQIEqYR3LlmyDTUWv+AxRnAOZ9fAFAmCvzKcACgkQ+AxRnAOZ 9fCr/w//Sv0zteohkO9n83R/1SfOptXbUfzKePUSHt94ycU1fbLnyr2ODuvuPvOQ yGWlUJfFJ3njRbdFEg1fyPoMZqOv6zJjroWa/BKZExPi2m2BPmEJoYD0mWfd5kxq u9pXvEFNOKj5Fgdc9wCfUiwim+QA2Wq9x4c/La9nSFZK8YSzO/FFFN4PP9WJqQbE tR7SnEKlytKGrW1n1PS+WPS7grvrwrggli1emFV8I/IqiCVDzJIMqgaVbj9zdtDp jcxuDB3JSCI5a4G6V1do8hPLgHZAzO+XrbYkZloxUL54g8NX9mqV3HGvw+nBrW31 6HmaYeTI6vpiJRs3YRvm+IWIeLmfKzYU8LhmN+e14R0lNlQbBkhZCeCytbUcFUTT dy2XOdpQTZjXGg6YTsV197uZkYaQ6coqXVqzbvGoQSB5bbhN1eaAw8cMA/johW91 GZt4S2qFp9sizjmd1eyNBdOkjFwbGHuGwCq5wt7uPIL5qQlsaG3/QavGwmmuG6Lm wq9tFziL4NI1hqCxi8B/cAgkLPplGbdb44Q7PtGu+LPstTtwmwa0Vd3c3kqD08+X rRqCtQo7Ro+KYF4KKyEkLTKJoEb2y56MFfiQ3jb8BbR5YCI6w21txX45HVhOZfXF vxeeS1d7V007XJW5JoKAwJD1rsfan/MJW+ae0nHWNoMsIFtDyEA= =rSMV -----END PGP SIGNATURE----- --ylrrrm3ruo2h3tdz--