From patchwork Fri May 19 05:30:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kiasoc5 X-Patchwork-Id: 50147 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 6A3E927BBE9; Fri, 19 May 2023 06:31:29 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2C28927BBE2 for ; Fri, 19 May 2023 06:31:27 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pzshl-00057w-JO; Fri, 19 May 2023 01:31:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pzshi-00055H-Oi for guix-patches@gnu.org; Fri, 19 May 2023 01:31:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pzshi-0006ZA-HK for guix-patches@gnu.org; Fri, 19 May 2023 01:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pzshi-0004hT-4W for guix-patches@gnu.org; Fri, 19 May 2023 01:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63580] [PATCH v2] gnu: lolcat: Update to 1.4. References: <3d015742e5788ca771da94bd2f46f9c5dbf89661.1684473806.git.kiasoc5@disroot.org> In-Reply-To: <3d015742e5788ca771da94bd2f46f9c5dbf89661.1684473806.git.kiasoc5@disroot.org> Resent-From: kiasoc5 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 19 May 2023 05:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63580 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63580@debbugs.gnu.org Cc: kiasoc5 Received: via spool by 63580-submit@debbugs.gnu.org id=B63580.168447422317718 (code B ref 63580); Fri, 19 May 2023 05:31:02 +0000 Received: (at 63580) by debbugs.gnu.org; 19 May 2023 05:30:23 +0000 Received: from localhost ([127.0.0.1]:55139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzsh5-0004bg-BT for submit@debbugs.gnu.org; Fri, 19 May 2023 01:30:23 -0400 Received: from knopi.disroot.org ([178.21.23.139]:34440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzsh2-0004bV-Th for 63580@debbugs.gnu.org; Fri, 19 May 2023 01:30:21 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 9224040611; Fri, 19 May 2023 07:30:19 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OSKbhs-zw3y7; Fri, 19 May 2023 07:30:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1684474218; bh=AmvNikAZ4uo80vOK0T8c/lYBuXsdMs7JE1pXObnwRUA=; h=From:To:Cc:Subject:Date; b=gpqPxqvQQ4Ccvo7Kuj8NwzoF9vN9cGBHJ/oAms+udpVTIWV0Vo00OQptWmJxTN7OY cUORxg8hb6TbNquu7YDxikvG2nSHlVXIywmKnnATsUCd28nIawGhwN61kIpk4CaxSi VAZRIAQTVtMKdJqIoHt1DyHSTRRd9x279VeSEmZ9cjLWCaWV07VyIwXy0JfJens1md Amp4Qpa2qEXCi9C1zGeCvu11xukfVLLKxksaEUhU7jGFyaY24RZjbpP6+NwjHBQSK4 TQBBZyllMC5e4mpUFW/98NYBc84pa8ODUGKqUBGv4Z6chj2kOodBQk+weOngiDqZmf qUdWs6TIddEHg== Date: Fri, 19 May 2023 01:30:14 -0400 Message-Id: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: kiasoc5 X-ACL-Warn: , kiasoc5 via Guix-patches X-Patchwork-Original-From: kiasoc5 via Guix-patches via From: kiasoc5 Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Forgot to add the #$output part last time. * gnu/packages/toys.scm (lolcat): Update to 1.4. [version]: Switch to release tag. [arguments]: Use G-expressions. Remove trailing #t. <#:phases>: Replace assoc-ref with #$output. --- gnu/packages/toys.scm | 69 +++++++++++++++++++++---------------------- 1 file changed, 33 insertions(+), 36 deletions(-) base-commit: 321ae25a26986c4ac06e5c0c99d19e1c808da6ac diff --git a/gnu/packages/toys.scm b/gnu/packages/toys.scm index 8967c0c25b..21d5279e85 100644 --- a/gnu/packages/toys.scm +++ b/gnu/packages/toys.scm @@ -137,44 +137,41 @@ (define-public fortunes-jkirchartz (license license:unlicense)))) (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") - (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 ,(string-append "CC=" (cc-for-target))) - #:phases - (modify-phases %standard-phases - (delete 'bootstrap) - (delete 'configure) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (dest (string-append out "/bin"))) - (mkdir-p dest) - (install-file "lolcat" dest) - (install-file "censor" dest) - #t)))))) - (home-page "https://github.com/jaseg/lolcat") - (synopsis "Rainbow coloring effect for text console display") - (description "@command{lolcat} concatenates files and streams like + (package + (name "lolcat") + (version "1.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jaseg/lolcat") + (commit (string-append "v" version)))) + (sha256 + (base32 + "0wyx184072z820njlc6qkvpxwcpjhj25gq4j0iw3jqzv3sk7mg7q")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ; no check target + #:make-flags + #~(list (string-append "CC=" #$(cc-for-target))) + #:phases + #~(modify-phases %standard-phases + (delete 'bootstrap) + (delete 'configure) + (replace 'install + (lambda _ + (let ((dest (string-append #$output "/bin"))) + (mkdir-p dest) + (install-file "lolcat" dest) + (install-file "censor" dest))))))) + (home-page "https://github.com/jaseg/lolcat") + (synopsis "Rainbow coloring effect for text console display") + (description "@command{lolcat} concatenates files and streams like regular @command{cat}, but it also adds terminal escape codes between characters and lines resulting in a rainbow effect.") - (license license:wtfpl2)))) + (license license:wtfpl2))) (define-public oneko (package