From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UHpIOJ76q2B8egAAgWs5BA (envelope-from ) for ; Mon, 24 May 2021 21:12:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id ODUENJ76q2DUawAA1q6Kng (envelope-from ) for ; Mon, 24 May 2021 19:12:30 +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 2C2B3239AF for ; Mon, 24 May 2021 21:12:30 +0200 (CEST) Received: from localhost ([::1]:51576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llG04-0005Ki-VJ for larch@yhetil.org; Mon, 24 May 2021 15:12:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llFze-0005Gl-7M for guix-patches@gnu.org; Mon, 24 May 2021 15:12:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60588) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1llFzd-0000S1-W4 for guix-patches@gnu.org; Mon, 24 May 2021 15:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1llFzd-00061a-Pu for guix-patches@gnu.org; Mon, 24 May 2021 15:12: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: Mon, 24 May 2021 19:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48630 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48630@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162188348523111 (code B ref -1); Mon, 24 May 2021 19:12:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 May 2021 19:11:25 +0000 Received: from localhost ([127.0.0.1]:43901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llFz2-00060g-ON for submit@debbugs.gnu.org; Mon, 24 May 2021 15:11:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:39020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llFz0-00060Z-No for submit@debbugs.gnu.org; Mon, 24 May 2021 15:11:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llFyy-0005D5-Ip for guix-patches@gnu.org; Mon, 24 May 2021 15:11:21 -0400 Received: from chimborazo.ee.ethz.ch ([129.132.2.15]:44415) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llFym-0008E3-P1 for guix-patches@gnu.org; Mon, 24 May 2021 15:11:20 -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 1BE60401A4 for ; Mon, 24 May 2021 21:10:58 +0200 (CEST) Date: Mon, 24 May 2021 21:10:54 +0200 From: Gabriel Wicki Message-ID: <20210524191054.7wtb4wopstgx2c77@silver> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: none client-ip=129.132.2.15; envelope-from=gabriel@erlikon.ch; helo=chimborazo.ee.ethz.ch X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 24 May 2021 15:12:25 -0400 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=1621883550; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=OdaQvxENON7/SxiIc25x8cNztBxWwpcrMAj6mGx9zYY=; b=CKgh0gizw61JizDe4586E8zN/Fc78cK/SkT250/TxySgLP6rnAo1esHbsvHXJGNcTiycrW 9Shr2yeqOMpsCHDzALDQIEsK2sgaXldUeaqBLZINfubZ4IdYoIfOuLL4tBhDQW4p7geqsI zrUbxxKtZX2XrHEVkPOXobsseGQAH5sFZd755meA8WWDgfv4FpIJdG9Eho/xVLhEqjcz+J i1FOpWDrl3XrkYodSwFF4Rxqj887w0dSSIuZxoTamJcIrPZsnJxPr79ovmypoa2hpZ2/7H dPqbhd/gZtbJ3UZc2PJfP7rqOlT8Kze+BE0NvrTstSe9Jm+XjraF1SGBHHYWBw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621883550; a=rsa-sha256; cv=none; b=XzD6yvsXV6qQ0mqLLBRUardD1QE8F/QuDankvsm0VkAYt9dJ/odSgrGT7UhlE638xWVGX7 H0Tn3qK/cHIVlYUfbHOhL7EzFHtoehWEgwmYTWi+dhxRzRCX2TtbdPZGKkyGpizKgJNIgg psqB2rxFp1tjW5ZE0nrflehl6SB5fmR49zPuPwgmR2zwxOgLV255QK0fOY+4cdtZ3JHjxx YFMUVdDtOQr4ERBYhDkeXzQG6J5xX6Zo+LDswbDuWrA5oij/AuTDFT6JPH9SOFksWCGGhi fVtrqV4n1dPCwcz+YrTRWXV9wFnhvgFaQ3/e8uisl7wmKSjxzDGmEhfDzoNBBw== 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: -1.93 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: 2C2B3239AF X-Spam-Score: -1.93 X-Migadu-Scanner: scn1.migadu.com X-TUID: vnPppHTdJ8CB modified: gnu/packages/perl.scm - adds package `perl-file-next' (module File::Next) modified: gnu/packages/textutils.scm - adds package `ack' with disabled tests --- gnu/packages/perl.scm | 20 ++++++++++++++++++++ gnu/packages/textutils.scm | 26 ++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index d35508112f..87d541783e 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -4578,6 +4578,26 @@ that arise trying to find them consistently across a wide variety of platforms.") (license (package-license perl)))) +(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 "perl-next-file") + (sha256 + (base32 + "0zdrxk409qxkbbv4fl4wi285kfzyrpaja9wfl00vrxc078rs4afm")))) + (build-system perl-build-system) + (synopsis "File::Next is a lightweight, taint-safe file-finding Perl module") + (description "A Perl CPAN module for finding files. It has no non-core +prerequisites") + (home-page "https://metacpan.org/pod/File::Next") + (license license:artistic2.0))) + (define-public perl-file-path (package (name "perl-file-path") diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index ab34373705..7dd7ee80e2 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) @@ -1304,3 +1305,28 @@ languages such as HTML, Markdown, Asciidoc, and reStructuredText. 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 (format #nil "v~a" version)))) + (file-name "ack") + (sha256 + (base32 "00131vqjbzcn6w22m0h3j6x9kp59dimfnnqhpmi78vbcj0jws1dv")))) + (build-system perl-build-system) + (arguments '(#:tests? #f)) + (propagated-inputs `(("perl-file-next" ,perl-file-next))) + (synopsis "Code-searching tool optimized for programmers with large trees +of source code") + (description "ack is a tool for finding text inside files. it is designed 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))) -- 2.30.2