gnu: zile: Update to 2.4.13.
[jackhill/guix/guix.git] / gnu / packages / zile.scm
CommitLineData
233e7676 1;;; GNU Guix --- Functional package management for GNU
834b5c80 2;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org>
d79ffe0e 3;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
fb9821f0 4;;;
233e7676 5;;; This file is part of GNU Guix.
fb9821f0 6;;;
233e7676 7;;; GNU Guix is free software; you can redistribute it and/or modify it
fb9821f0
LC
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;;;
233e7676 12;;; GNU Guix is distributed in the hope that it will be useful, but
fb9821f0
LC
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
233e7676 18;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
fb9821f0 19
1ffa7090 20(define-module (gnu packages zile)
4a44e743 21 #:use-module (guix licenses)
fb9821f0
LC
22 #:use-module (guix download)
23 #:use-module (guix packages)
24 #:use-module (guix build-system gnu)
1ffa7090
LC
25 #:use-module (gnu packages bdw-gc)
26 #:use-module (gnu packages perl)
cb3da233 27 #:use-module (gnu packages man)
834b5c80 28 #:use-module (gnu packages ncurses)
d79ffe0e
EB
29 #:use-module (gnu packages bash)
30 #:use-module (gnu packages pkg-config))
fb9821f0
LC
31
32(define-public zile
33 (package
34 (name "zile")
fa216a4d 35 (version "2.4.13")
834b5c80
LC
36 (source (origin
37 (method url-fetch)
38 (uri (string-append "mirror://gnu/zile/zile-"
39 version ".tar.gz"))
40 (sha256
41 (base32
fa216a4d 42 "03mcg0bxkzprlsx8y6h22w924pzx4a9zr7zm3g11j8j3x9lz75f7"))))
fb9821f0 43 (build-system gnu-build-system)
834b5c80
LC
44 (arguments
45 '(#:phases (alist-cons-before
46 'configure 'patch-/bin/sh
47 (lambda* (#:key inputs #:allow-other-keys)
48 (let ((bash (assoc-ref inputs "bash")))
49 ;; Refer to the actual shell.
50 (substitute* '("lib/spawni.c" "src/funcs.c")
51 (("/bin/sh")
52 (string-append bash "/bin/sh")))))
53 %standard-phases)))
fb9821f0
LC
54 (inputs
55 `(("boehm-gc" ,libgc)
56 ("ncurses" ,ncurses)
834b5c80
LC
57 ("bash" ,bash)))
58 (native-inputs
59 `(("perl" ,perl)
d79ffe0e
EB
60 ("help2man" ,help2man)
61 ("pkg-config" ,pkg-config)))
fa216a4d 62 (home-page "https://www.gnu.org/software/zile/")
35b9e423 63 (synopsis "Lightweight Emacs clone")
fb9821f0 64 (description
79c311b8
LC
65 "GNU Zile is a lightweight Emacs clone. It usage is similar to the
66default Emacs configuration, but it carries a much lighter feature set.")
4a44e743 67 (license gpl3+)))