mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: lolcat: Update to 1.4.
* 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. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
parent
c57693846c
commit
0b6bcc747d
1 changed files with 33 additions and 36 deletions
|
@ -137,44 +137,41 @@ (define-public fortunes-jkirchartz
|
||||||
(license license:unlicense))))
|
(license license:unlicense))))
|
||||||
|
|
||||||
(define-public lolcat
|
(define-public lolcat
|
||||||
(let ((commit "35dca3d0a381496d7195cd78f5b24aa7b62f2154")
|
(package
|
||||||
(revision "0"))
|
(name "lolcat")
|
||||||
(package
|
(version "1.4")
|
||||||
(name "lolcat")
|
(source
|
||||||
(version (git-version "1.0" revision commit))
|
(origin
|
||||||
(source
|
(method git-fetch)
|
||||||
(origin
|
(uri (git-reference
|
||||||
(method git-fetch)
|
(url "https://github.com/jaseg/lolcat")
|
||||||
(uri (git-reference
|
(commit (string-append "v" version))))
|
||||||
(url "https://github.com/jaseg/lolcat")
|
(sha256
|
||||||
(commit commit)))
|
(base32
|
||||||
(sha256
|
"0wyx184072z820njlc6qkvpxwcpjhj25gq4j0iw3jqzv3sk7mg7q"))
|
||||||
(base32
|
(file-name (git-file-name name version))))
|
||||||
"0jjbkqcc2ikjxd1xgdyv4rb0vsw218181h89f2ywg29ffs3ypd8g"))
|
(build-system gnu-build-system)
|
||||||
(file-name (git-file-name name version))))
|
(arguments
|
||||||
(build-system gnu-build-system)
|
(list
|
||||||
(arguments
|
#:tests? #f ; no check target
|
||||||
`(#:tests? #f ; no check target
|
#:make-flags
|
||||||
#:make-flags
|
#~(list (string-append "CC=" #$(cc-for-target)))
|
||||||
(list ,(string-append "CC=" (cc-for-target)))
|
#:phases
|
||||||
#:phases
|
#~(modify-phases %standard-phases
|
||||||
(modify-phases %standard-phases
|
(delete 'bootstrap)
|
||||||
(delete 'bootstrap)
|
(delete 'configure)
|
||||||
(delete 'configure)
|
(replace 'install
|
||||||
(replace 'install
|
(lambda _
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(let ((dest (string-append #$output "/bin")))
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(mkdir-p dest)
|
||||||
(dest (string-append out "/bin")))
|
(install-file "lolcat" dest)
|
||||||
(mkdir-p dest)
|
(install-file "censor" dest)))))))
|
||||||
(install-file "lolcat" dest)
|
(home-page "https://github.com/jaseg/lolcat")
|
||||||
(install-file "censor" dest)
|
(synopsis "Rainbow coloring effect for text console display")
|
||||||
#t))))))
|
(description "@command{lolcat} concatenates files and streams like
|
||||||
(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
|
regular @command{cat}, but it also adds terminal escape codes between
|
||||||
characters and lines resulting in a rainbow effect.")
|
characters and lines resulting in a rainbow effect.")
|
||||||
(license license:wtfpl2))))
|
(license license:wtfpl2)))
|
||||||
|
|
||||||
(define-public oneko
|
(define-public oneko
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue