From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:60503) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iG1vg-0005S1-Sy for guix-patches@gnu.org; Thu, 03 Oct 2019 10:18:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iG1vf-0008En-Ok for guix-patches@gnu.org; Thu, 03 Oct 2019 10:18:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60115) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iG1vf-0008Eg-LD for guix-patches@gnu.org; Thu, 03 Oct 2019 10:18:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iG1vf-0005gx-Fd for guix-patches@gnu.org; Thu, 03 Oct 2019 10:18:03 -0400 Subject: [bug#37603] [PATCH] gnu: Add aha. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:60454) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iG1vS-0005DJ-2l for guix-patches@gnu.org; Thu, 03 Oct 2019 10:17:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iG1vP-00088H-9C for guix-patches@gnu.org; Thu, 03 Oct 2019 10:17:49 -0400 Received: from freeshell.de ([2a01:360:106::2]:45337) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iG1vO-00083X-QY for guix-patches@gnu.org; Thu, 03 Oct 2019 10:17:47 -0400 From: Wiktor =?UTF-8?Q?=C5=BBelazny?= Date: Thu, 3 Oct 2019 16:15:29 +0200 Message-Id: <20191003141529.3940-1-wz@freeshell.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37603@debbugs.gnu.org From: Wiktor =C5=BBelazny * gnu/packages/textutils.scm (aha): new variable. --- Hi, This is the first time that I=E2=80=99m submitting something that use= s the git-fetch method. I tried to follow the manual. Unfortunately, it does not explain the role of this "0.9" string. I noticed that other contributors use various values. I left it at "0.9". gnu/packages/textutils.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 79cf172179..1bf5a4fb1b 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -17,6 +17,7 @@ ;;; Copyright =C2=A9 2018 Pierre Neidhardt ;;; Copyright =C2=A9 2018 Meiyo Peng ;;; Copyright =C2=A9 2019 Yoshinori Arai +;;; Copyright =C2=A9 2019 Wiktor =C5=BBelazny ;;; ;;; This file is part of GNU Guix. ;;; @@ -1011,3 +1012,32 @@ instance one can add new syntax elements to markdo= wn, etc. =20 This package provides Python bindings.") (license license:bsd-3))) + +(define-public aha + (let ((commit "2592da4330b4df6d482a631f4a35543b96f4744d") + (revision "1")) ;Guix package revision + (package + (name "aha") + (version (git-version "0.9" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "git://github.com/theZiz/aha.git") + (commit commit))) + (sha256 + (base32 + "0fq81ibxqg27b3860wmqd4zym2mymkr7sgvfhsyl0kb7ck367w4q")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (arguments + '(#:phases (modify-phases %standard-phases (delete 'configure)) + #:make-flags (list "CC=3Dgcc" + (string-append "PREFIX=3D" + (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))))) --=20 2.23.0