File gnu/packages/toys.scm changed (mode: 100644) (index eb727a4192..0d0035a86e) |
... |
... |
typing @command{sl} instead of @command{ls}.") |
78 |
78 |
"See LICENSE in the distribution.")))) |
"See LICENSE in the distribution.")))) |
79 |
79 |
|
|
80 |
80 |
(define-public filters |
(define-public filters |
81 |
|
(let ((version "2.55") |
|
82 |
|
(commit "c5c291916b52ed9e6418448a8eee30475fb9adcf")) |
|
83 |
|
(package |
|
84 |
|
(name "filters") |
|
85 |
|
(version "2.55") |
|
86 |
|
(source |
|
87 |
|
(origin |
|
88 |
|
(method git-fetch) |
|
89 |
|
(uri (git-reference |
|
90 |
|
(url "https://git.joeyh.name/filters") |
|
91 |
|
(commit commit))) |
|
92 |
|
(file-name (git-file-name name version)) |
|
93 |
|
(sha256 |
|
94 |
|
(base32 "1gaigpda1w9wxfh8an3sam1hpacc1bhxl696w4yj0vzhc6izqvxs")) |
|
95 |
|
(modules '((guix build utils))) |
|
96 |
|
(snippet '(begin |
|
97 |
|
;; kenny is under nonfree Artistic License (Perl) 1.0. |
|
98 |
|
(delete-file "kenny") |
|
99 |
|
(substitute* "Makefile" |
|
100 |
|
(("kenny") |
|
101 |
|
"")))))) |
|
102 |
|
(build-system gnu-build-system) |
|
103 |
|
(arguments |
|
104 |
|
`(#:make-flags |
|
105 |
|
(list (string-append "CC=" ,(cc-for-target)) |
|
106 |
|
(string-append "DESTDIR=" %output)) |
|
107 |
|
#:phases |
|
108 |
|
(modify-phases %standard-phases |
|
109 |
|
(delete 'configure) |
|
110 |
|
(add-after 'unpack 'fix-install-directories |
|
111 |
|
(lambda _ |
|
112 |
|
(substitute* "Makefile" |
|
113 |
|
(("/usr/games") |
|
114 |
|
"/bin/") |
|
115 |
|
(("/usr/share/") |
|
116 |
|
"/share/")) |
|
117 |
|
#t))) |
|
118 |
|
#:tests? #f)) ; no test suite |
|
119 |
|
(native-inputs |
|
120 |
|
`(("bison" ,bison) |
|
121 |
|
("flex" ,flex))) |
|
122 |
|
(inputs |
|
123 |
|
`(("perl" ,perl))) |
|
124 |
|
(home-page "https://joeyh.name/code/filters/") |
|
125 |
|
(synopsis "Various amusing text filters") |
|
126 |
|
(description |
|
127 |
|
"The filters collection harks back to the late 1980s, when various text |
|
|
81 |
|
(package |
|
82 |
|
(name "filters") |
|
83 |
|
(version "2.55") |
|
84 |
|
(source |
|
85 |
|
(origin |
|
86 |
|
(method git-fetch) |
|
87 |
|
(uri (git-reference |
|
88 |
|
(url "https://git.joeyh.name/filters") |
|
89 |
|
(commit version))) |
|
90 |
|
(file-name (git-file-name name version)) |
|
91 |
|
(sha256 |
|
92 |
|
(base32 "1gaigpda1w9wxfh8an3sam1hpacc1bhxl696w4yj0vzhc6izqvxs")) |
|
93 |
|
(modules '((guix build utils))) |
|
94 |
|
(snippet '(begin |
|
95 |
|
;; kenny is under nonfree Artistic License (Perl) 1.0. |
|
96 |
|
(delete-file "kenny") |
|
97 |
|
(substitute* "Makefile" |
|
98 |
|
(("kenny") |
|
99 |
|
"")))))) |
|
100 |
|
(build-system gnu-build-system) |
|
101 |
|
(arguments |
|
102 |
|
`(#:make-flags |
|
103 |
|
(list (string-append "CC=" ,(cc-for-target)) |
|
104 |
|
(string-append "DESTDIR=" %output)) |
|
105 |
|
#:phases |
|
106 |
|
(modify-phases %standard-phases |
|
107 |
|
(delete 'configure) |
|
108 |
|
(add-after 'unpack 'fix-install-directories |
|
109 |
|
(lambda _ |
|
110 |
|
(substitute* "Makefile" |
|
111 |
|
(("/usr/games") |
|
112 |
|
"/bin/") |
|
113 |
|
(("/usr/share/") |
|
114 |
|
"/share/")) |
|
115 |
|
#t))) |
|
116 |
|
#:tests? #f)) ; no test suite |
|
117 |
|
(native-inputs |
|
118 |
|
`(("bison" ,bison) |
|
119 |
|
("flex" ,flex))) |
|
120 |
|
(inputs |
|
121 |
|
`(("perl" ,perl))) |
|
122 |
|
(home-page "https://joeyh.name/code/filters/") |
|
123 |
|
(synopsis "Various amusing text filters") |
|
124 |
|
(description |
|
125 |
|
"The filters collection harks back to the late 1980s, when various text |
128 |
126 |
filters were written to munge written language in amusing ways. The earliest |
filters were written to munge written language in amusing ways. The earliest |
129 |
127 |
and best known were legends such as the Swedish Chef filter and B1FF. |
and best known were legends such as the Swedish Chef filter and B1FF. |
130 |
128 |
|
|
|
... |
... |
This package contains the following filter commands: |
158 |
156 |
@end enumerate |
@end enumerate |
159 |
157 |
|
|
160 |
158 |
The GNU project hosts a similar collection of filters, the GNU talkfilters.") |
The GNU project hosts a similar collection of filters, the GNU talkfilters.") |
161 |
|
(license ; see debian/copyright |
|
162 |
|
(list license:gpl2+ ; most of the filters |
|
163 |
|
license:gpl2 ; rasterman, ky00te.dir/* nethackify, pirate |
|
164 |
|
license:gpl3+ ; scramble, scottish |
|
165 |
|
license:public-domain ; jethro, kraut, ken, studly |
|
166 |
|
license:gpl1+ ; cockney, jive, nyc only say "gpl" |
|
167 |
|
license:expat))))) ; newspeak |
|
|
159 |
|
(license ; see debian/copyright |
|
160 |
|
(list license:gpl2+ ; most of the filters |
|
161 |
|
license:gpl2 ; rasterman, ky00te.dir/* nethackify, pirate |
|
162 |
|
license:gpl3+ ; scramble, scottish |
|
163 |
|
license:public-domain ; jethro, kraut, ken, studly |
|
164 |
|
license:gpl1+ ; cockney, jive, nyc only say "gpl" |
|
165 |
|
license:expat)))) ; newspeak |
168 |
166 |
|
|
169 |
167 |
(define-public xsnow |
(define-public xsnow |
170 |
168 |
(package |
(package |