projects/guix·blob java-team · refs

72 lines · 2.6 KiB

1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2015 Steve Sprang <[email protected]>
3;;; Copyright © 2025 Evgeny Pisemsky <[email protected]>
4;;;
5;;; This file is part of GNU Guix.
6;;;
7;;; GNU Guix is free software; you can redistribute it and/or modify it
8;;; under the terms of the GNU General Public License as published by
9;;; the Free Software Foundation; either version 3 of the License, or (at
10;;; your option) any later version.
11;;;
12;;; GNU Guix is distributed in the hope that it will be useful, but
13;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15;;; GNU General Public License for more details.
16;;;
17;;; You should have received a copy of the GNU General Public License
18;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
19
20(define-module (gnu packages figlet)
21 #:use-module ((guix licenses) #:prefix license:)
22 #:use-module (guix packages)
23 #:use-module (guix download)
24 #:use-module (guix build-system gnu)
25 #:use-module (gnu packages pkg-config)
26 #:use-module (gnu packages video))
27
28(define-public figlet
29 (package
30 (name "figlet")
31 (version "2.2.5")
32 (source
33 (origin
34 (method url-fetch)
35 (uri (string-append "ftp://ftp.figlet.org/pub/figlet/program"
36 "/unix/figlet-" version ".tar.gz"))
37 (sha256
38 (base32 "0za1ax15x7myjl8jz271ybly8ln9kb9zhm1gf6rdlxzhs07w925z"))))
39 (build-system gnu-build-system)
40 (arguments
41 `(#:phases
42 (modify-phases %standard-phases (delete 'configure))
43 #:make-flags
44 (list (string-append "prefix=" %output))))
45 (home-page "http://www.figlet.org/")
46 (synopsis "Make large letterforms out of ordinary screen characters")
47 (description "FIGlet is a program for making large ASCII art letterforms
48out of ordinary screen characters.")
49 (license license:bsd-3)))
50
51(define-public toilet
52 (package
53 (name "toilet")
54 (version "0.3")
55 (source
56 (origin
57 (method url-fetch)
58 (uri (string-append
59 "http://caca.zoy.org/raw-attachment/wiki/toilet/toilet-" version
60 ".tar.gz"))
61 (sha256
62 (base32 "1pl118qb7g0frpgl9ps43w4sd0psjirpmq54yg1kqcclqcqbbm49"))))
63 (build-system gnu-build-system)
64 (native-inputs (list pkg-config))
65 (inputs (list libcaca))
66 (home-page "http://caca.zoy.org/wiki/toilet")
67 (synopsis "Display large colourful characters")
68 (description
69 "The TOIlet project attempts to create a free replacement for the
70FIGlet utility. It uses the powerful libcaca library to achieve
71various text-based effects.")
72 (license license:wtfpl2)))