From patchwork Thu Oct 3 14:15:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Wiktor_=C5=BBelazny?= X-Patchwork-Id: 15610 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8F543174C7; Thu, 3 Oct 2019 15:18:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 44ECE174C0 for ; Thu, 3 Oct 2019 15:18:17 +0100 (BST) Received: from localhost ([::1]:36662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iG1vs-0005XI-Oh for patchwork@mira.cbaines.net; Thu, 03 Oct 2019 10:18:16 -0400 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 X-Loop: help-debbugs@gnu.org Subject: [bug#37603] [PATCH] gnu: Add aha. Resent-From: Wiktor =?utf-8?q?=C5=BBelazny?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Oct 2019 14:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37603 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37603@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157011227321860 (code B ref -1); Thu, 03 Oct 2019 14:18:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Oct 2019 14:17:53 +0000 Received: from localhost ([127.0.0.1]:40703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iG1vU-0005gW-Up for submit@debbugs.gnu.org; Thu, 03 Oct 2019 10:17:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:54244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iG1vT-0005gP-HS for submit@debbugs.gnu.org; Thu, 03 Oct 2019 10:17:52 -0400 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?= DKIM-Filter: OpenDKIM Filter v2.9.2 freeshell.de E25AB35CC340 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freeshell.de; s=mail; t=1570112260; bh=VUrKJCcXLnkhKVyM7HX+a0x00x8fVeM63inC9yPvKyo=; h=From:To:Subject:Date; b=exiSQctb9itCCdRkBSIW9zvXv9OHdhKWkR51Tmk9G0vH34x12n8bRl0+9mrdylFMx 4PRqmciij2khNBQHV8B5XATY/mkCl1Z4JrieZztlCTdf93kKrXJvV7wg6C7hH2TdZ8 3Lx1T9vC1SPGVchrYaUmZkQ5Q3odpZpWxf4MUF4w= Date: Thu, 3 Oct 2019 16:15:29 +0200 Message-Id: <20191003141529.3940-1-wz@freeshell.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: Wiktor Żelazny * gnu/packages/textutils.scm (aha): new variable. --- Hi, This is the first time that I’m submitting something that uses 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 © 2018 Pierre Neidhardt ;;; Copyright © 2018 Meiyo Peng ;;; Copyright © 2019 Yoshinori Arai +;;; Copyright © 2019 Wiktor Żelazny ;;; ;;; This file is part of GNU Guix. ;;; @@ -1011,3 +1012,32 @@ instance one can add new syntax elements to markdown, etc. 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=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)))))