b35461748b
Fix many occurrences of comma (unquote) being placed immediately after the previous list item, e.g. ("ncurses", ncurses) in the inputs. * gnu/packages/base.scm (patch, gnu-make), gnu/packages/bioinformatics.scm (hmmer), gnu/packages/bittorrent.scm (aria2), gnu/packages/compression.scm (pbzip2), gnu/packages/databases.scm (recutils), gnu/packages/fonts.scm (font-terminus), gnu/packages/freedesktop.scm (xdg-utils, elogind), gnu/packages/games.scm (gnujump), gnu/packages/gnome.scm (libidl, gnumeric, eog, gedit), gnu/packages/gnunet.scm (gnunet), gnu/packages/gnuzilla.scm (mozjs, nspr), gnu/packages/gtk.scm (gtksourceview, gdk-pixbuf), gnu/packages/lua.scm (lua), gnu/packages/openstack.scm (python-swiftclient), gnu/packages/perl.scm (perl-json-any), gnu/packages/polkit.scm (polkit-qt), gnu/packages/python.scm (wrap-python3, python-oauthlib) (python-mccabe-0.2.1, python-contextlib2, python2-rauth), gnu/packages/qt.scm (qtkeychain), gnu/packages/ruby.scm (ruby-nokogiri), gnu/packages/screen.scm (screen), gnu/packages/ssh.scm (libssh), gnu/packages/video.scm (ffmpeg, mplayer), gnu/packages/vim.scm (vim), gnu/packages/xdisorg.scm (redshift), gnu/packages/xfce.scm (xfce4-panel, xfce4-settings), gnu/packages/xnee.scm (xnee), gnu/packages/xorg.scm (font-adobe100dpi, font-adobe75dpi), gnu/packages/zsh.scm (zsh): Fix misplaced commas (unquote).
81 lines
3.6 KiB
Scheme
81 lines
3.6 KiB
Scheme
;;; GNU Guix --- Functional package management for GNU
|
|
;;; Copyright © 2014 Kevin Lemonnier <lemonnierk@ulrar.net>
|
|
;;;
|
|
;;; 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 zsh)
|
|
#:use-module (gnu packages ncurses)
|
|
#:use-module (gnu packages perl)
|
|
#:use-module (gnu packages pcre)
|
|
#:use-module (gnu packages autotools)
|
|
#:use-module (guix packages)
|
|
#:use-module (guix download)
|
|
#:use-module (guix build-system gnu)
|
|
#:use-module (guix licenses))
|
|
|
|
(define-public zsh
|
|
(package
|
|
(name "zsh")
|
|
(version "5.1.1")
|
|
(source (origin
|
|
(method url-fetch)
|
|
(uri (list (string-append
|
|
"http://www.zsh.org/pub/zsh-" version
|
|
".tar.gz")
|
|
(string-append
|
|
"http://www.zsh.org/pub/old/zsh-" version
|
|
".tar.gz")))
|
|
(sha256
|
|
(base32
|
|
"11shllzhq53fg8ngy3bgbmpf09fn2czifg7hsb41nxi3410mpvcl"))))
|
|
(build-system gnu-build-system)
|
|
(arguments `(#:configure-flags '("--with-tcsetpgrp" "--enable-pcre")
|
|
#:phases (alist-cons-before
|
|
'configure 'fix-sh
|
|
(lambda _
|
|
;; Some of the files are ISO-8859-1 encoded.
|
|
(with-fluids ((%default-port-encoding #f))
|
|
(substitute*
|
|
'("configure"
|
|
"configure.ac"
|
|
"Src/exec.c"
|
|
"Src/mkmakemod.sh"
|
|
"Config/installfns.sh"
|
|
"Config/defs.mk.in"
|
|
"Test/E01options.ztst"
|
|
"Test/A05execution.ztst"
|
|
"Test/A01grammar.ztst"
|
|
"Test/A06assign.ztst"
|
|
"Test/B02typeset.ztst"
|
|
"Completion/Unix/Command/_init_d"
|
|
"Util/preconfig")
|
|
(("/bin/sh") (which "sh")))))
|
|
%standard-phases)))
|
|
(native-inputs `(("autoconf" ,autoconf)))
|
|
(inputs `(("ncurses" ,ncurses)
|
|
("pcre" ,pcre)
|
|
("perl" ,perl)))
|
|
(synopsis "Powerful shell for interactive use and scripting")
|
|
(description "The Z shell (zsh) is a Unix shell that can be used
|
|
as an interactive login shell and as a powerful command interpreter
|
|
for shell scripting. Zsh can be thought of as an extended Bourne shell
|
|
with a large number of improvements, including some features of bash,
|
|
ksh, and tcsh.")
|
|
(home-page "http://www.zsh.org/")
|
|
|
|
;; The whole thing is under an MIT/X11-style license, but there's one
|
|
;; command, 'Completion/Unix/Command/_darcs', which is under GPLv2+.
|
|
(license gpl2+)))
|