;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice ;;; ;;; 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 . (define-module (gnu packages toys) #:use-module (gnu packages ncurses) #:use-module (guix build-system gnu) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages)) (define-public sl (package (name "sl") (version "5.02") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/mtoyoda/sl.git") (commit version))) (file-name (git-file-name name version)) (sha256 (base32 "1zrfd71zx2px2xpapg45s8xvi81xii63yl0h60q72j71zh4sif8b")))) (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.")))) 645fec15ca3b722a010'>Collapse)Author 2017-03-22gnu: gpsbabel: Fix a build failure with GCC 5.Leo Famulari * gnu/packages/gps.scm (gpsbabel)[arguments]: Add -fPIC to #:configure-flags. 2016-12-04gnu: exiv2: Move to (gnu packages image).Alex Kost * gnu/packages/geeqie.scm (exiv2): Move to... * gnu/packages/image.scm: ... here. * gnu/packages/gnome.scm: Adjust the used modules. * gnu/packages/gnunet.scm: Likewise. * gnu/packages/gps.scm: Likewise. 2016-08-22gnu: gpsbabel: Build with gnu++11.David Craven * gnu/packages/gps.scm (gpsbabel)[arguments]: Add configure-flag. Disable tests. 2016-06-16gnu: gpsbabel: Build with modular qt.Efraim Flashner * gnu/packages/gps.scm (gpsbabel)[inputs]: Remove qt, add qtbase, qttools. 2016-02-16gnu: gpsbabel: Use 'modify-phases'.Efraim Flashner * gnu/packages/gps.scm (gpsbabel)[arguments]: Use 'modify-phases'. 2016-02-16gnu: gpsbabel: Update to 1.5.2.Efraim Flashner * gnu/packages/gps.scm (gpsbabel): Update to 1.5.2. [inputs]: Remove qt-4, add qt. 2015-03-04gnu: Move 'which' to (gnu packages base).Ludovic Courtès * gnu/packages/which.scm: Remove. * gnu-system.am (GNU_SYSTEM_MODULES): Remove it. * gnu/packages/base.scm (which): New variable. * gnu/packages/aspell.scm, gnu/packages/audio.scm, gnu/packages/autogen.scm, gnu/packages/cdrom.scm, gnu/packages/compression.scm, gnu/packages/datamash.scm, gnu/packages/games.scm, gnu/packages/glib.scm, gnu/packages/gnu-pw-mgr.scm, gnu/packages/gnutls.scm, gnu/packages/gps.scm, gnu/packages/guile.scm, gnu/packages/java.scm, gnu/packages/libevent.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/node.scm, gnu/packages/ntp.scm, gnu/packages/orpheus.scm, gnu/packages/pciutils.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/rsync.scm, gnu/packages/sawfish.scm, gnu/packages/scheme.scm, gnu/packages/ssh.scm, gnu/packages/statistics.scm, gnu/packages/texlive.scm, gnu/packages/wdiff.scm: Adjust accordingly.