* [bug#48886] [PATCH] New package: ack
@ 2021-06-06 19:49 Ryan Sundberg via Guix-patches via
2021-06-23 15:12 ` bug#48886: " zimoun
0 siblings, 1 reply; 2+ messages in thread
From: Ryan Sundberg via Guix-patches via @ 2021-06-06 19:49 UTC (permalink / raw)
To: 48886; +Cc: Ryan Sundberg
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#48886: [PATCH] New package: ack
2021-06-06 19:49 [bug#48886] [PATCH] New package: ack Ryan Sundberg via Guix-patches via
@ 2021-06-23 15:12 ` zimoun
0 siblings, 0 replies; 2+ messages in thread
From: zimoun @ 2021-06-23 15:12 UTC (permalink / raw)
To: Ryan Sundberg; +Cc: 48886-done
Hi,
On Sun, 06 Jun 2021 at 12:49, Ryan Sundberg <ryan@arctype.co> wrote:
> 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
Exactly the same as #48893; already commented. Therefore, closing this one.
<http://issues.guix.gnu.org/issue/48893>
All the best,
simon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-23 15:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-06 19:49 [bug#48886] [PATCH] New package: ack Ryan Sundberg via Guix-patches via
2021-06-23 15:12 ` bug#48886: " zimoun
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.