guix-patches
[Top][All Lists]
Advanced

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

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


From: Wiktor Żelazny
Subject: [bug#37618] [PATCH v2] gnu: Add aha.
Date: Fri, 4 Oct 2019 15:21:57 +0200

From: Wiktor Żelazny <address@hidden>

* 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 <address@hidden>
 ;;; Copyright © 2018 Meiyo Peng <address@hidden>
 ;;; Copyright © 2019 Yoshinori Arai <address@hidden>
+;;; Copyright © 2019 Wiktor Żelazny <address@hidden>
 ;;;
 ;;; 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






reply via email to

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