unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#37618] [PATCH v2] gnu: Add aha.
@ 2019-10-04 13:21 Wiktor Żelazny
  2020-02-22 21:23 ` bug#37618: " Jakub Kądziołka
  0 siblings, 1 reply; 2+ messages in thread
From: Wiktor Żelazny @ 2019-10-04 13:21 UTC (permalink / raw)
  To: 37618

From: Wiktor Żelazny <wzelazny@vurv.cz>

* 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 <mail@ambrevar.xyz>
 ;;; Copyright © 2018 Meiyo Peng <meiyo.peng@gmail.com>
 ;;; Copyright © 2019 Yoshinori Arai <kumagusu08@gmail.com>
+;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz>
 ;;;
 ;;; 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#37618: [PATCH v2] gnu: Add aha.
  2019-10-04 13:21 [bug#37618] [PATCH v2] gnu: Add aha Wiktor Żelazny
@ 2020-02-22 21:23 ` Jakub Kądziołka
  0 siblings, 0 replies; 2+ messages in thread
From: Jakub Kądziołka @ 2020-02-22 21:23 UTC (permalink / raw)
  To: Wiktor Żelazny; +Cc: 37618-done

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

On Fri, Oct 04, 2019 at 03:21:57PM +0200, Wiktor Żelazny wrote:
> From: Wiktor Żelazny <wzelazny@vurv.cz>
> 
> * 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-22 21:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-04 13:21 [bug#37618] [PATCH v2] gnu: Add aha Wiktor Żelazny
2020-02-22 21:23 ` bug#37618: " Jakub Kądziołka

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).