emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48893: closed ([PATCH] New package: ack)


From: GNU bug Tracking System
Subject: bug#48893: closed ([PATCH] New package: ack)
Date: Mon, 29 May 2023 11:36:02 +0000

Your message dated Mon, 29 May 2023 13:35:19 +0200
with message-id <878rd7nzew.fsf@fsfe.org>
and subject line Re: bug#48893: [PATCH] New package: ack
has caused the debbugs.gnu.org bug report #48893,
regarding [PATCH] New package: ack
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
48893: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=48893
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] New package: ack Date: Sun, 6 Jun 2021 16:51:49 -0700
ack is a grep-like source code search tool.

Signed-off-by: Ryan Sundberg <ryan@arctype.co>
---
 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..a131678936 100644
--- a/gnu/packages/search.scm
+++ b/gnu/packages/search.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2018, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2018 Adam Massmann <massmannak@gmail.com>
 ;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;; Copyright © 2021 Ryan Sundberg <ryan@arctype.co>
 ;;;
 ;;; 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://github.com/protojure/protoc-plugin";)
+    (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")
-- 
2.31.1




--- End Message ---
--- Begin Message --- Subject: Re: bug#48893: [PATCH] New package: ack Date: Mon, 29 May 2023 13:35:19 +0200
The package ack was made available in commit
1051db25267a9bbc0ad38be2f3ec92af40f18e18, so closing.



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]