From: "Ludovic Courtès" <ludo@gnu.org>
To: Leo Prikler <leo.prikler@student.tugraz.at>
Cc: 38480-done@debbugs.gnu.org, Brett Gilio <brettg@posteo.net>
Subject: bug#38480: [PATCH] gnu: Add lolcat
Date: Sun, 15 Dec 2019 21:59:34 +0100 [thread overview]
Message-ID: <87tv61tidl.fsf@gnu.org> (raw)
In-Reply-To: <a9087ff071bae8a10c948a32b8d5cef08aa6bc6a.camel@student.tugraz.at> (Leo Prikler's message of "Sun, 15 Dec 2019 01:10:30 +0100")
[-- Attachment #1: Type: text/plain, Size: 422 bytes --]
Hi!
Leo Prikler <leo.prikler@student.tugraz.at> skribis:
> From 42827748e50fe20fdf23ff1137067a7d6c80c87e Mon Sep 17 00:00:00 2001
> From: Leo Prikler <leo.prikler@student.tugraz.at>
> Date: Wed, 4 Dec 2019 02:46:44 +0100
> Subject: [PATCH] gnu: Add lolcat
>
> * gnu/packages/games.scm (lolcat): New package.
I made the changes below to make it work with a single output.
Committed, thanks!
Ludo’.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 930 bytes --]
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 1f08dd240a..c8d671bbdc 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -528,11 +528,12 @@ tired of cows, a variety of other ASCII-art messengers are available.")
(delete 'configure)
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
- (let ((dest (string-append path "/bin")))
+ (let* ((out (assoc-ref outputs "out"))
+ (dest (string-append out "/bin")))
(mkdir-p dest)
(install-file "lolcat" dest)
+ (install-file "censor" dest)
#t))))))
- (outputs (list "out" "censor"))
(home-page "https://github.com/jaseg/lolcat")
(synopsis "Rainbow coloring effect for text console display")
(description "@command{lolcat} concatenates files and streams like
prev parent reply other threads:[~2019-12-15 21:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-04 1:46 [bug#38480] [PATCH] gnu: Add lolcat Leo Prikler
2019-12-04 3:00 ` Brett Gilio
2019-12-05 17:41 ` Leo Prikler
2019-12-14 23:28 ` Ludovic Courtès
2019-12-15 0:10 ` Leo Prikler
2019-12-15 20:59 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tv61tidl.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=38480-done@debbugs.gnu.org \
--cc=brettg@posteo.net \
--cc=leo.prikler@student.tugraz.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).