Subject: bug#37618: closed (Re: [PATCH v2] gnu: Add aha.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 22 Feb 2020 21:23:02 +0000

Your bug report

#37618: [PATCH v2] gnu: Add aha.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
37618: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37618
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [PATCH v2] gnu: Add aha.
From: Jakub Kądziołka <[email-masked]>
To: Wiktor Żelazny <[email-masked]>
Cc: [email-masked]
Date: Sat, 22 Feb 2020 22:23:22 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

On Fri, Oct 04, 2019 at 03:21:57PM +0200, Wiktor Żelazny wrote:
> From: Wiktor Żelazny <[email-masked]>
> 
> * gnu/packages/textutils.scm (aha): new variable.

Thanks! I fixed the synopsis and description up a bit:

(synopsis "Converts terminal escape sequences to HTML")
(description "@command{aha} (Ansi Html Adapter) converts ANSI escape sequences
of a Unix terminal to HTML code.")

Apart from that, LGTM, so pushed to master.

Sorry for the quite substantial delay,
Jakub Kądziołka

Subject: [PATCH v2] gnu: Add aha.
From: Wiktor Żelazny <[email-masked]>
To: [email-masked]
Date: Fri, 4 Oct 2019 15:21:57 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Wiktor Żelazny <[email-masked]>

* gnu/packages/textutils.scm (aha): new variable.
---
I fixed the issues pointed out by Tobias [bug#37603].
 gnu/packages/textutils.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 79cf172179..678c1292f5 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2018 Pierre Neidhardt <[email-masked]>
 ;;; Copyright © 2018 Meiyo Peng <[email-masked]>
 ;;; Copyright © 2019 Yoshinori Arai <[email-masked]>
+;;; Copyright © 2019 Wiktor Żelazny <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1011,3 +1012,30 @@ instance one can add new syntax elements to markdown, etc.
 
 This package provides Python bindings.")
     (license license:bsd-3)))
+
+(define-public aha
+  (package
+    (name "aha")
+    (version "0.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/theZiz/aha")
+              (commit version)))
+       (sha256
+        (base32
+         "0byml4rmpiaalwx69jcixl3yvpvwmwiss1jzgsqwshilb2p4qnmz"))
+       (file-name (git-file-name name version))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:phases (modify-phases %standard-phases (delete 'configure))
+       #:make-flags (list "CC=gcc"
+                          (string-append "PREFIX="
+                                         (assoc-ref %outputs "out")))
+       #:tests? #f)) ; no check target
+    (home-page "https://github.com/theZiz/aha")
+    (synopsis "Ansi HTML Adapter")
+    (description "@code{aha} converts ANSI escape sequences of a Unix terminal
+to HTML code.")
+    (license (list license:lgpl2.0+ license:mpl1.1))))
-- 
2.23.0