From: kiasoc5 via Guix-patches via <guix-patches@gnu.org>
To: 63580@debbugs.gnu.org
Cc: kiasoc5 <kiasoc5@disroot.org>
Subject: [bug#63580] [PATCH] gnu: lolcat: Update to 1.4.
Date: Fri, 19 May 2023 01:23:26 -0400 [thread overview]
Message-ID: <3d015742e5788ca771da94bd2f46f9c5dbf89661.1684473806.git.kiasoc5@disroot.org> (raw)
* 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 | 70 +++++++++++++++++++++----------------------
1 file changed, 34 insertions(+), 36 deletions(-)
diff --git a/gnu/packages/toys.scm b/gnu/packages/toys.scm
index 8967c0c25b..ca2abc8ac9 100644
--- a/gnu/packages/toys.scm
+++ b/gnu/packages/toys.scm
@@ -137,44 +137,42 @@ (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* (#: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)))))))
+ (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
base-commit: 321ae25a26986c4ac06e5c0c99d19e1c808da6ac
--
2.40.1
next reply other threads:[~2023-05-19 5:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-19 5:23 kiasoc5 via Guix-patches via [this message]
2023-05-19 5:30 ` [bug#63580] [PATCH v2] gnu: lolcat: Update to 1.4 kiasoc5 via Guix-patches via
2023-05-24 12:38 ` bug#63580: [PATCH] " 宋文武 via Guix-patches via
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=3d015742e5788ca771da94bd2f46f9c5dbf89661.1684473806.git.kiasoc5@disroot.org \
--to=guix-patches@gnu.org \
--cc=63580@debbugs.gnu.org \
--cc=kiasoc5@disroot.org \
/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).