2017-12-30 11:13:54 +00:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2021-06-30 12:39:53 +00:00
|
|
|
|
;;; Copyright © 2017, 2018, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
2019-10-10 04:29:16 +00:00
|
|
|
|
;;; Copyright © 2019 Jesse Gibbons <jgibbons2357+guix@gmail.com>
|
2021-06-28 17:02:37 +00:00
|
|
|
|
;;; Copyright © 2019, 2020, 2021 Timotej Lazar <timotej.lazar@araneo.si>
|
2020-03-04 18:45:45 +00:00
|
|
|
|
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
|
2021-03-24 05:54:52 +00:00
|
|
|
|
;;; Copyright © 2021 Leo Famulari <leo@famulari.name>
|
2017-12-30 11:13:54 +00:00
|
|
|
|
;;;
|
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
(define-module (gnu packages toys)
|
2021-06-28 17:02:37 +00:00
|
|
|
|
#:use-module (gnu packages)
|
2019-10-10 04:29:16 +00:00
|
|
|
|
#:use-module (gnu packages bison)
|
|
|
|
|
#:use-module (gnu packages flex)
|
2019-12-15 16:44:24 +00:00
|
|
|
|
#:use-module (gnu packages gtk)
|
2021-09-24 16:04:15 +00:00
|
|
|
|
#:use-module (gnu packages man)
|
2017-12-30 11:13:54 +00:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
2019-10-10 04:29:16 +00:00
|
|
|
|
#:use-module (gnu packages perl)
|
2019-12-15 16:44:24 +00:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
|
#:use-module (gnu packages xml)
|
|
|
|
|
#:use-module (gnu packages xorg)
|
2017-12-30 11:13:54 +00:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2019-12-15 16:44:24 +00:00
|
|
|
|
#:use-module (guix download)
|
2018-08-21 05:15:51 +00:00
|
|
|
|
#:use-module (guix git-download)
|
2017-12-30 11:13:54 +00:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2020-10-16 14:45:44 +00:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix utils))
|
2017-12-30 11:13:54 +00:00
|
|
|
|
|
2021-06-28 17:02:37 +00:00
|
|
|
|
(define-public oneko
|
|
|
|
|
(package
|
|
|
|
|
(name "oneko")
|
|
|
|
|
(version "1.2.sakura.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://www.daidouji.com/oneko/distfiles/oneko-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0bxjlbafn10sfi5d06420pg70rpvsiy5gdbm8kspd6qy4kqhabic"))
|
|
|
|
|
(patches (search-patches "oneko-remove-nonfree-characters.patch"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Remove bitmaps with copyright issues.
|
|
|
|
|
'(begin
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
(cons* "bitmaps/bsd" "bitmaps/sakura" "bitmaps/tomoyo"
|
|
|
|
|
"bitmasks/bsd" "bitmasks/sakura" "bitmasks/tomoyo"
|
|
|
|
|
(find-files "cursors" "(bsd|card|petal).*\\.xbm")))
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("imake" ,imake)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libx11" ,libx11)
|
|
|
|
|
("libxext" ,libxext)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "xmkmf")
|
|
|
|
|
;; Fix incorrectly generated compiler flags.
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("(CDEBUGFLAGS = ).*" _ front) (string-append front "-O2\n")))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs make-flags #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(doc (string-append out "/share/doc/" ,name "-" ,version))
|
|
|
|
|
(man (string-append out "/share/man"))
|
|
|
|
|
(man6 (string-append man "/man6"))
|
|
|
|
|
(man6-ja (string-append man "/ja/man6")))
|
|
|
|
|
(install-file "oneko" bin)
|
|
|
|
|
(mkdir-p man6)
|
|
|
|
|
(mkdir-p man6-ja)
|
|
|
|
|
(copy-file "oneko.man" (string-append man6 "/oneko.6"))
|
|
|
|
|
(copy-file "oneko.man.jp" (string-append man6-ja "/oneko.6"))
|
|
|
|
|
(for-each (lambda (file) (install-file file doc))
|
|
|
|
|
(find-files "." "README.*")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "http://www.daidouji.com/oneko/")
|
|
|
|
|
(synopsis "Cute cat chasing your mouse pointer")
|
|
|
|
|
(description "Displays a cat or another animated character that chases the
|
|
|
|
|
mouse pointer around the screen while you work.")
|
|
|
|
|
(license license:public-domain))) ; see https://directory.fsf.org/wiki/Oneko
|
|
|
|
|
|
2017-12-30 11:13:54 +00:00
|
|
|
|
(define-public sl
|
|
|
|
|
(package
|
|
|
|
|
(name "sl")
|
|
|
|
|
(version "5.02")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-08-21 05:15:51 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/mtoyoda/sl")
|
2018-08-21 05:15:51 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-12-30 11:13:54 +00:00
|
|
|
|
(sha256
|
2018-08-21 05:15:51 +00:00
|
|
|
|
(base32 "1zrfd71zx2px2xpapg45s8xvi81xii63yl0h60q72j71zh4sif8b"))))
|
2017-12-30 11:13:54 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("ncurses" ,ncurses)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(delete 'check) ; no tests
|
|
|
|
|
(replace 'install ; no ‘make install’ target
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(man (string-append out "/share/man"))
|
|
|
|
|
(man1 (string-append man "/man1"))
|
|
|
|
|
(man1-ja (string-append man "/ja/man1")))
|
|
|
|
|
(install-file "sl" bin)
|
|
|
|
|
(install-file "sl.1" man1)
|
|
|
|
|
(mkdir-p man1-ja)
|
|
|
|
|
(copy-file "sl.1.ja" (string-append man1-ja "/sl.1"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/index_e.html")
|
|
|
|
|
(synopsis "Joke command to correct typing \"sl\" by mistake")
|
|
|
|
|
(description
|
|
|
|
|
"@dfn{SL} (for Steam Locomotive) displays one of several animated trains
|
|
|
|
|
on the text terminal. It serves no useful purpose but to discourage mistakenly
|
|
|
|
|
typing @command{sl} instead of @command{ls}.")
|
|
|
|
|
(license (license:non-copyleft "file://LICENSE"
|
|
|
|
|
"See LICENSE in the distribution."))))
|
2019-10-10 04:29:16 +00:00
|
|
|
|
|
|
|
|
|
(define-public filters
|
2020-10-16 14:47:41 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "filters")
|
|
|
|
|
(version "2.55")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2020-10-16 14:49:02 +00:00
|
|
|
|
(url "git://git.joeyh.name/filters")
|
2020-10-16 14:47:41 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1gaigpda1w9wxfh8an3sam1hpacc1bhxl696w4yj0vzhc6izqvxs"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet '(begin
|
|
|
|
|
;; kenny is under nonfree Artistic License (Perl) 1.0.
|
|
|
|
|
(delete-file "kenny")
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("kenny")
|
|
|
|
|
""))))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list (string-append "CC=" ,(cc-for-target))
|
2020-10-16 14:52:18 +00:00
|
|
|
|
(string-append "prefix=" (assoc-ref %outputs "out")))
|
2020-10-16 14:47:41 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
2020-10-16 14:52:18 +00:00
|
|
|
|
(add-after 'unpack 'respect-prefix
|
2020-10-16 14:47:41 +00:00
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("/usr/games")
|
2020-10-16 14:52:18 +00:00
|
|
|
|
"$(prefix)/bin/")
|
|
|
|
|
(("/usr")
|
|
|
|
|
"$(prefix)"))
|
2020-10-16 14:47:41 +00:00
|
|
|
|
#t)))
|
|
|
|
|
#:tests? #f)) ; no test suite
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bison" ,bison)
|
|
|
|
|
("flex" ,flex)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("perl" ,perl)))
|
|
|
|
|
(home-page "https://joeyh.name/code/filters/")
|
|
|
|
|
(synopsis "Various amusing text filters")
|
|
|
|
|
(description
|
|
|
|
|
"The filters collection harks back to the late 1980s, when various text
|
2019-10-10 04:29:16 +00:00
|
|
|
|
filters were written to munge written language in amusing ways. The earliest
|
|
|
|
|
and best known were legends such as the Swedish Chef filter and B1FF.
|
|
|
|
|
|
|
|
|
|
This package contains the following filter commands:
|
|
|
|
|
@enumerate
|
|
|
|
|
@item b1ff: a satire of a stereotypical Usenet newbie
|
|
|
|
|
@item censor: comply with the @acronym{CDA, Communications Decency Act}
|
|
|
|
|
@item chef: convert English to Mock Swedish
|
|
|
|
|
@item cockney: Cockney English
|
|
|
|
|
@item elee: k3wl hacker slang
|
|
|
|
|
@item fanboy: a stereotypical fan (supports custom fandoms)
|
|
|
|
|
@item fudd: Elmer Fudd
|
|
|
|
|
@item jethro: hillbilly text filter
|
|
|
|
|
@item jibberish: a random selection of these filters
|
|
|
|
|
@item jive: Jive English
|
|
|
|
|
@item ken: turn English into Cockney
|
|
|
|
|
@item kraut: a bad German accent
|
|
|
|
|
@item ky00te: a very cute accent
|
|
|
|
|
@item LOLCAT: as seen in Internet GIFs everywhere
|
|
|
|
|
@item nethackify: wiped-out text as found in nethack
|
|
|
|
|
@item newspeak: à la 1984
|
|
|
|
|
@item nyc: Brooklyn English
|
|
|
|
|
@item pirate: talk like a pirate
|
|
|
|
|
@item rasterman: straight from the keyboard of Carsten Haitzler
|
|
|
|
|
@item scottish: fake Scottish (Dwarven) accent
|
|
|
|
|
@item scramble: scramble the \"inner\" letters of each word
|
|
|
|
|
@item spammer: turn honest text into something liable to be flagged as spam
|
|
|
|
|
@item studly: studly caps.
|
|
|
|
|
@item uniencode: use glorious Unicode to the fullest possible extent
|
|
|
|
|
@item upside-down: flip the text upside down
|
|
|
|
|
@end enumerate
|
|
|
|
|
|
|
|
|
|
The GNU project hosts a similar collection of filters, the GNU talkfilters.")
|
2020-10-16 14:47:41 +00:00
|
|
|
|
(license ; see debian/copyright
|
|
|
|
|
(list license:gpl2+ ; most of the filters
|
|
|
|
|
license:gpl2 ; rasterman, ky00te.dir/* nethackify, pirate
|
|
|
|
|
license:gpl3+ ; scramble, scottish
|
|
|
|
|
license:public-domain ; jethro, kraut, ken, studly
|
|
|
|
|
license:gpl1+ ; cockney, jive, nyc only say "gpl"
|
|
|
|
|
license:expat)))) ; newspeak
|
2019-12-15 16:44:24 +00:00
|
|
|
|
|
|
|
|
|
(define-public xsnow
|
|
|
|
|
(package
|
|
|
|
|
(name "xsnow")
|
2020-06-17 11:54:32 +00:00
|
|
|
|
(version "2.0.22")
|
2019-12-15 16:44:24 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://www.ratrabbit.nl/ratrabbit/system/files/xsnow/xsnow-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-06-17 11:54:32 +00:00
|
|
|
|
(base32 "1880643fal6l7bskqbm4zfbr2s719698mkx4pchrxkjpb240sj0z"))))
|
2019-12-15 16:44:24 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'fix-install-path
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Install program to bin instead of games.
|
|
|
|
|
(substitute* "src/Makefile.in"
|
|
|
|
|
(("(gamesdir = \\$\\(exec_prefix\\)/)games" _ prefix)
|
|
|
|
|
(string-append prefix "bin")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gtk+" ,gtk+)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxpm" ,libxpm)
|
|
|
|
|
("libxt" ,libxt)
|
|
|
|
|
("libxxml2" ,libxml2)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "https://www.ratrabbit.nl/ratrabbit/content/xsnow/introduction")
|
|
|
|
|
(synopsis "Let it snow on the desktop")
|
|
|
|
|
(description "@code{Xsnow} animates snowfall and Santa with reindeer on
|
|
|
|
|
the desktop background. Additional customizable effects include wind, stars
|
|
|
|
|
and various scenery elements.")
|
|
|
|
|
(license license:gpl3+)))
|
2020-03-04 18:45:45 +00:00
|
|
|
|
|
|
|
|
|
(define-public nyancat
|
|
|
|
|
(package
|
|
|
|
|
(name "nyancat")
|
|
|
|
|
(version "1.5.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/klange/nyancat")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1mg8nm5xzcq1xr8cvx24ym2vmafkw53rijllwcdm9miiz0p5ky9k"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
gnu: Replace hard-coded "CC=gcc" with CC-FOR-TARGET calls.
* gnu/packages/admin.scm (cbatticon)[arguments]<#:make-flags>: Use
CC-FOR-TARGET.
* gnu/packages/assembly.scm (dev86)[arguments]<#:make-flags>: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]<#:make-flags>: Likewise.
* gnu/packages/crypto.scm (signify, keyutils, ssss, libscrypt, enchive)
[arguments]<#:make-flags>: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-emacsql, emacs-telega)[arguments]
<#:phases>: Likewise.
* gnu/packages/gnupg.scm (pgpdump)[arguments]<#:make-flags>: Likewise.
* gnu/packages/image-viewers.scm (feh, imv)[arguments]<#:make-flags>:
Likewise.
* gnu/packages/image.scm (libjxr, giflib, freeimage)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/irc.scm (ii, sic)[arguments]<#:make-flags>: Likewise.
* gnu/packages/lua.scm (make-lua-expat, make-lua-ossl, make-lua-sec)
(make-lua-cqueues, make-lua-lgi, lua-resty-signal)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/networking.scm (httping, pixiewps, sslh, nethogs, spiped)
(can-utils, hcxtools, batctl)[arguments]<#:make-flags>: Likewise.
* gnu/packages/pdf.scm (fbida)[arguments]<#:make-flags>: Likewise.
* gnu/packages/ssh.scm (endlessh)[arguments]<#:make-flags>: Likewise.
* gnu/packages/toys.scm (nyancat)[arguments]<#:make-flags>: Likewise.
* gnu/packages/upnp.scm (miniupnpc)[arguments]<#:make-flags>: Likewise.
* gnu/packages/xdisorg.scm (bemenu, xbanish, sxhkd, xcape, xssproxy)
(xrandr-invert-colors, hsetroot, xsettingsd)[arguments]<#:make-flags>:
Likewise.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-04-09 19:46:24 +00:00
|
|
|
|
`(#:make-flags '(,(string-append "CC=" (cc-for-target)))
|
2020-03-04 18:45:45 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(man (string-append out "/share/man/man1")))
|
|
|
|
|
(install-file "src/nyancat" bin)
|
|
|
|
|
(install-file "nyancat.1" man))
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "https://nyancat.dakko.us/")
|
|
|
|
|
(synopsis "Nyan cat telnet server")
|
|
|
|
|
(description
|
|
|
|
|
"This is an animated, color, ANSI-text telnet server that renders a loop
|
|
|
|
|
of the Nyan Cat / Poptart Cat animation.")
|
|
|
|
|
(license license:ncsa)))
|
2021-03-24 05:54:52 +00:00
|
|
|
|
|
|
|
|
|
(define-public cbonsai
|
|
|
|
|
(package
|
|
|
|
|
(name "cbonsai")
|
2021-09-24 16:04:15 +00:00
|
|
|
|
(version "1.3.1")
|
2021-03-24 05:54:52 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.com/jallbrit/cbonsai.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-09-24 16:04:15 +00:00
|
|
|
|
"1krsrf7gilmpnba6hjgz8mk32vs55b4i1rxlp7ajrw0v487blljw"))))
|
2021-03-24 05:54:52 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; No test suite
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "CC=" ,(cc-for-target))
|
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; No ./configure script
|
|
|
|
|
(add-after 'install 'install-doc
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (string-append out "/share/doc/" ,name "-"
|
|
|
|
|
,(package-version this-package))))
|
|
|
|
|
(install-file "README.md" doc)))))))
|
|
|
|
|
(native-inputs
|
2021-09-24 16:04:15 +00:00
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("scdoc" ,scdoc)))
|
2021-03-24 05:54:52 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("ncurses" ,ncurses)))
|
|
|
|
|
(home-page "https://gitlab.com/jallbrit/cbonsai")
|
|
|
|
|
(synopsis "Grow bonsai trees in a terminal")
|
|
|
|
|
(description "Cbonsai is a bonsai tree generator using ASCII art. It
|
|
|
|
|
creates, colors, and positions a bonsai tree, and is configurable.")
|
|
|
|
|
(license license:gpl3+)))
|