From patchwork Thu Dec 5 17:41:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 16385 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 C503317850; Thu, 5 Dec 2019 17:42:17 +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 803B11784E for ; Thu, 5 Dec 2019 17:42:17 +0000 (GMT) Received: from localhost ([::1]:58610 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icv8q-0005J8-Ii for patchwork@mira.cbaines.net; Thu, 05 Dec 2019 12:42:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60531) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icv8e-0005Ew-Fb for guix-patches@gnu.org; Thu, 05 Dec 2019 12:42:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1icv8c-0008E6-JK for guix-patches@gnu.org; Thu, 05 Dec 2019 12:42:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39159) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1icv8c-0008C8-1t for guix-patches@gnu.org; Thu, 05 Dec 2019 12:42:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1icv8b-0004wV-TX for guix-patches@gnu.org; Thu, 05 Dec 2019 12:42:01 -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: Thu, 05 Dec 2019 17:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38480 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Brett Gilio Cc: 38480@debbugs.gnu.org Received: via spool by 38480-submit@debbugs.gnu.org id=B38480.157556771318985 (code B ref 38480); Thu, 05 Dec 2019 17:42:01 +0000 Received: (at 38480) by debbugs.gnu.org; 5 Dec 2019 17:41:53 +0000 Received: from localhost ([127.0.0.1]:45132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1icv8T-0004w9-4e for submit@debbugs.gnu.org; Thu, 05 Dec 2019 12:41:53 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:7878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1icv8Q-0004vy-RZ for 38480@debbugs.gnu.org; Thu, 05 Dec 2019 12:41:52 -0500 Received: from nijino.local (213-240-64-42.hdsl.highway.telekom.at [213.240.64.42]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 47TNLy1Qbpz1LBL5; Thu, 5 Dec 2019 18:41:46 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 47TNLy1Qbpz1LBL5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1575567706; bh=YKHz0RafoK2eflmd8J9P2P59U0DFyCVXA5kN+5xzP54=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=CELkcEBRcnytZ9MFA0rF8po94rCROt6jJTYE3SQ7TPDyPUeGGDvxdZ7fVRK1tfcWU iXA7jT8ts+ir9xm34CubhrTiPFnFOgU5jhrBIrWiBOf/85/8r7Rhw0OcPrmTdx9fMI d92BvljOclKHHmef/lsNgLoW+uQ2XpikeT2cldA8= Message-ID: From: Leo Prikler Date: Thu, 05 Dec 2019 18:41:40 +0100 In-Reply-To: <877e3ciylo.fsf@posteo.net> References: <20191204014644.1491-1-leo.prikler@student.tugraz.at> <877e3ciylo.fsf@posteo.net> User-Agent: Evolution 3.30.5 MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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 Hi Brett, Am Dienstag, den 03.12.2019, 21:00 -0600 schrieb Brett Gilio: > Leo Prikler writes: > > > + `(#:tests? #f ;; tests don't exist > > LGTM! Though, perhaps an aesthetic issue. I usually prefer (and see) > "no check target". Carry on! Fair enough, I've adapted the patch. Regards, Leo From: Leo Prikler Date: Wed, 4 Dec 2019 02:46:44 +0100 Subject: [PATCH] gnu: Add lolcat * 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 @comma= nd{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 ;; no check target + #: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") -- 2.24.0