From patchwork Wed Jun 9 07:12:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ryan Sundberg X-Patchwork-Id: 30073 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 12D9927BC81; Wed, 9 Jun 2021 08:14:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7898727BC78 for ; Wed, 9 Jun 2021 08:14:15 +0100 (BST) Received: from localhost ([::1]:41346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqsPm-0006yl-Gl for patchwork@mira.cbaines.net; Wed, 09 Jun 2021 03:14:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqsPa-0006yV-PY for guix-patches@gnu.org; Wed, 09 Jun 2021 03:14:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48814) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqsPa-00036N-ID for guix-patches@gnu.org; Wed, 09 Jun 2021 03:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqsPa-0006ua-3Q for guix-patches@gnu.org; Wed, 09 Jun 2021 03:14:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48893] [PATCH] New package: ack Resent-From: Ryan Sundberg Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Jun 2021 07:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48893 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48893@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162322280526512 (code B ref -1); Wed, 09 Jun 2021 07:14:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jun 2021 07:13:25 +0000 Received: from localhost ([127.0.0.1]:60360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqsOn-0006tI-Cq for submit@debbugs.gnu.org; Wed, 09 Jun 2021 03:13:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:55838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqsOj-0006t5-9W for submit@debbugs.gnu.org; Wed, 09 Jun 2021 03:13:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqsOi-00065o-Vy for guix-patches@gnu.org; Wed, 09 Jun 2021 03:13:09 -0400 Received: from mail.arctype.co ([138.68.9.245]:48434) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqsOf-0002Te-S3 for guix-patches@gnu.org; Wed, 09 Jun 2021 03:13:08 -0400 Received: from authenticated-user (mail.arctype.co [138.68.9.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.arctype.co (Postfix) with ESMTPSA id 4610111F07C for ; Wed, 9 Jun 2021 00:12:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arctype.co; s=mail; t=1623222752; bh=cIPFGZPG/ZFvTaKG+38GOwv3dL3QocNBjkNLzjPhvOI=; h=Subject:To:References:From:Date:In-Reply-To:From; b=rKRog7bfllb2O4GVbEUWyd4XKJiPs7ZVRcuTDRO1HBZOkDl0Plvl9Sevd8iKqgIWX smyU9j8p/91Z/ksy16EBa3KhJuVTAV+3Pm+gHEirUAAlo/2S6qWiL4S1pVVtWj5Tt9 BZbiIiZ424MnUd1m3zcK/z8+r01qgXGklO0wSaWXMqR/hiEAWJWTlBoGahXUvVbbvU YQkBYc/fhHHjfBOB2YpOKY08ajwY0i52WnqSTlz2pKlEto2EyG6bSdpY0XfSFprosU /mVLuhNq4RV8LLTOPbcAL+5gJA9ZUvetGfLGui6OtGn4VH7U4MPl1tiTyrvGS5RsWq 2Ou73kKSIU1hQ== References: <20210606235149.25344-1-ryan@arctype.co> <20210606235852.26193-1-ryan@arctype.co> Message-ID: Date: Wed, 9 Jun 2021 00:12:30 -0700 MIME-Version: 1.0 In-Reply-To: <20210606235852.26193-1-ryan@arctype.co> Received-SPF: pass client-ip=138.68.9.245; envelope-from=ryan@arctype.co; helo=mail.arctype.co X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-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-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" Reply-to: Ryan Sundberg X-ACL-Warn: , Ryan Sundberg via Guix-patches X-Patchwork-Original-From: Ryan Sundberg via Guix-patches via From: Ryan Sundberg X-getmail-retrieved-from-mailbox: Patches Revised ack patch per coding standards. --- Sincerely, Ryan Sundberg On 6/6/21 4:58 PM, Ryan Sundberg wrote: > ack is a grep-like source code search tool. > > (The previous patch had the wrong home-page set.) > > Signed-off-by: Ryan Sundberg > --- > gnu/packages/search.scm | 29 ++++++++++++++++++++++++++++- > 1 file changed, 28 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm > index 362eb0d95e..e4f48d5906 100644 > --- a/gnu/packages/search.scm > +++ b/gnu/packages/search.scm > @@ -6,6 +6,7 @@ > ;;; Copyright © 2018, 2020, 2021 Tobias Geerinckx-Rice > ;;; Copyright © 2018 Adam Massmann > ;;; Copyright © 2020 Hartmut Goebel > +;;; Copyright © 2021 Ryan Sundberg > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -24,11 +25,12 @@ > > (define-module (gnu packages search) > #:use-module ((guix licenses) > - #:select (gpl2 gpl2+ gpl3+ lgpl2.1+ bsd-3 x11 perl-license)) > + #:select (gpl2 gpl2+ gpl3+ lgpl2.1+ bsd-3 x11 perl-license artistic2.0)) > #:use-module (guix packages) > #:use-module (guix download) > #:use-module (guix git-download) > #:use-module (guix utils) > + #:use-module (guix build-system copy) > #:use-module (guix build-system gnu) > #:use-module (guix build-system perl) > #:use-module (guix build-system python) > @@ -50,6 +52,31 @@ > #:use-module (gnu packages xdisorg) > #:use-module (gnu packages xml)) > > +(define-public ack > + (package > + (name "ack") > + (version "3.5.0") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "https://beyondgrep.com/ack-v" version)) > + (sha256 (base32 "17wq9c1pwisbg4mcmvmdaym8hlawx209iriaxjlw9hwi0v4x6w38")))) > + (inputs `(("perl" ,perl))) > + (build-system copy-build-system) > + (arguments > + `(#:install-plan '(("ack" "bin/ack")) > + #:phases > + (modify-phases %standard-phases > + (replace 'unpack > + (lambda* (#:key source #:allow-other-keys) > + (copy-file source "ack") > + (chmod "ack" #o0755) > + #t))))) > + (home-page "https://beyondgrep.com/") > + (synopsis "ack is a grep-like source code search tool.") > + (description "Designed for programmers with large heterogeneous trees of source code, ack is written in portable Perl 5 and takes advantage of the power of Perl's regular expressions. ack is designed as an alternative to grep for programmers.") > + (license artistic2.0))) > + > (define-public xapian > (package > (name "xapian") > From fea54a57b5b4e1cdc6bd642ae499fbaafad5cb62 Mon Sep 17 00:00:00 2001 From: Ryan Sundberg Date: Sun, 31 Jan 2021 10:29:47 -0800 Subject: [PATCH] gnu: Add ack version 3.5.0 * gnu/packages/search.scm (ack): New variable. Signed-off-by: Ryan Sundberg --- gnu/packages/search.scm | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm index 362eb0d95e..d523d3f93f 100644 --- a/gnu/packages/search.scm +++ b/gnu/packages/search.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2018, 2020, 2021 Tobias Geerinckx-Rice ;;; Copyright © 2018 Adam Massmann ;;; Copyright © 2020 Hartmut Goebel +;;; Copyright © 2021 Ryan Sundberg ;;; ;;; This file is part of GNU Guix. ;;; @@ -24,11 +25,12 @@ (define-module (gnu packages search) #:use-module ((guix licenses) - #:select (gpl2 gpl2+ gpl3+ lgpl2.1+ bsd-3 x11 perl-license)) + #:select (gpl2 gpl2+ gpl3+ lgpl2.1+ bsd-3 x11 perl-license artistic2.0)) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix utils) + #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system perl) #:use-module (guix build-system python) @@ -50,6 +52,32 @@ #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml)) +(define-public ack + (package + (name "ack") + (version "3.5.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://beyondgrep.com/ack-v" version)) + (sha256 (base32 "17wq9c1pwisbg4mcmvmdaym8hlawx209iriaxjlw9hwi0v4x6w38")))) + (inputs `(("perl" ,perl))) + (build-system copy-build-system) + (arguments + `(#:install-plan '(("ack" "bin/ack")) + #:phases + (modify-phases %standard-phases + (replace 'unpack + (lambda* (#:key source #:allow-other-keys) + (copy-file source "ack") + (chmod "ack" #o0755) + #t))))) + (home-page "https://beyondgrep.com/") + (synopsis "Grep-like source code search tool") + (description "Ack is designed for programmers with large heterogeneous trees of +source code, as an alternative to grep.") + (license artistic2.0))) + (define-public xapian (package (name "xapian") -- 2.31.1