From patchwork Wed Dec 4 01:46:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 16366 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 190F217838; Wed, 4 Dec 2019 02:10:07 +0000 (GMT) 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, URIBL_BLOCKED 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 C993017835 for ; Wed, 4 Dec 2019 02:10:06 +0000 (GMT) Received: from localhost ([::1]:33186 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icK7C-0002Ib-3X for patchwork@mira.cbaines.net; Tue, 03 Dec 2019 21:10:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60378) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icJti-0004qy-Bh for guix-patches@gnu.org; Tue, 03 Dec 2019 20:56:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1icJtc-0003Zx-UB for guix-patches@gnu.org; Tue, 03 Dec 2019 20:56:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35296) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1icJtc-0003YJ-Lx for guix-patches@gnu.org; Tue, 03 Dec 2019 20:56:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1icJta-0005PX-Io for guix-patches@gnu.org; Tue, 03 Dec 2019 20:56:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38480] [PATCH] gnu: Add lolcat Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 04 Dec 2019 01:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38480 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38480@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157542452020743 (code B ref -1); Wed, 04 Dec 2019 01:56:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Dec 2019 01:55:20 +0000 Received: from localhost ([127.0.0.1]:41269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1icJsu-0005OV-7j for submit@debbugs.gnu.org; Tue, 03 Dec 2019 20:55:20 -0500 Received: from lists.gnu.org ([209.51.188.17]:60276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1icJsr-0005OM-Qz for submit@debbugs.gnu.org; Tue, 03 Dec 2019 20:55:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58809) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icJsh-0004Rc-16 for guix-patches@gnu.org; Tue, 03 Dec 2019 20:55:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1icJsW-0001Db-0M for guix-patches@gnu.org; Tue, 03 Dec 2019 20:54:59 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:28110) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1icJsT-0005mN-4j for guix-patches@gnu.org; Tue, 03 Dec 2019 20:54:55 -0500 Received: from localhost.localdomain (213-240-64-42.hdsl.highway.telekom.at [213.240.64.42]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 47SMCv1KyQz1LLyb for ; Wed, 4 Dec 2019 02:47:07 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 47SMCv1KyQz1LLyb DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1575424027; bh=OXmKM+dnCAhQO0y/styKmpHL/5Mrql3LIVIHlhSNKkY=; h=From:To:Subject:Date:From; b=QAKyG3PO9fc2yG/LsUj+8t8RrWB9aWUvFGjhRTzunl5mXvrmlA/LrpB1qpg33Vsyr ddOR4mAHwdoD8zWjJajEreRCCRoABboQDlifFnmMh7mC9A/PH1wB+fWpZD+GAki2k7 tx13Sw3WwqbITYx1/bHVcz6do8V7IiIKWcgu637U= From: Leo Prikler Date: Wed, 4 Dec 2019 02:46:44 +0100 Message-Id: <20191204014644.1491-1-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] 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 * gnu/packages/games.scm (lolcat): New package. --- gnu/packages/games.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 8dd08844ee..b15016e4bb 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -498,6 +498,47 @@ cows can think too: all you have to do is run @command{cowthink}. If you're tired of cows, a variety of other ASCII-art messengers are available.") (license license:gpl3+))) +(define-public lolcat + (let ((commit "35dca3d0a381496d7195cd78f5b24aa7b62f2154") + (revision "0")) + (package + (name "lolcat") + (version (git-version "1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jaseg/lolcat.git") + (commit commit))) + (sha256 + (base32 + "0jjbkqcc2ikjxd1xgdyv4rb0vsw218181h89f2ywg29ffs3ypd8g")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ;; tests don't exist + #:make-flags (list "CC=gcc") + #:phases + (modify-phases %standard-phases + (delete 'bootstrap) + (delete 'configure) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((dest (map (lambda (path) (string-append path "/bin")) + (list (assoc-ref outputs "out") + (assoc-ref outputs "censor"))))) + (for-each mkdir-p dest) + (install-file "lolcat" (car dest)) + (install-file "censor" (cadr dest)) + #t)))))) + (outputs (list "out" "censor")) + (home-page "https://github.com/jaseg/lolcat") + (synopsis "Rainbow coloring effect for text console display") + (description "Lolcat concatenates files and streams like regular cat, +but it also adds terminal escape codes between characters and lines resulting +in a rainbow effect.") + (license license:wtfpl2)))) + (define-public freedoom (package (name "freedoom")