gnu: libical: Correct zoneinfo search path.
[jackhill/guix/guix.git] / gnu / packages / fish.scm
... / ...
CommitLineData
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2014, 2015 David Thompson <davet@gnu.org>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages fish)
20 #:use-module (guix licenses)
21 #:use-module (gnu packages doxygen)
22 #:use-module (gnu packages ncurses)
23 #:use-module (gnu packages python)
24 #:use-module (guix packages)
25 #:use-module (guix download)
26 #:use-module (guix utils)
27 #:use-module (guix build-system gnu))
28
29(define-public fish
30 (package
31 (name "fish")
32 (version "2.2.0")
33 (source (origin
34 (method url-fetch)
35 (uri (string-append "http://fishshell.com/files/"
36 version "/fish-" version ".tar.gz"))
37 (sha256
38 (base32
39 "0ympqz7llmf0hafxwglykplw6j5cz82yhlrw50lw4bnf2kykjqx7"))
40 (modules '((guix build utils)))
41 ;; Don't try to install /etc/fish/config.fish.
42 (snippet
43 '(substitute* "Makefile.in"
44 ((".*INSTALL.*sysconfdir.*fish.*") "")))))
45 (build-system gnu-build-system)
46 (native-inputs
47 `(("doxygen" ,doxygen)))
48 (inputs
49 `(("ncurses" ,ncurses)
50 ("python" ,python-wrapper))) ;for fish_config and manpage completions
51 (arguments
52 '(#:tests? #f ; no check target
53 #:configure-flags '("--sysconfdir=/etc")))
54 (synopsis "The friendly interactive shell")
55 (description
56 "Fish (friendly interactive shell) is a shell focused on interactive use,
57discoverability, and friendliness. Fish has very user-friendly and powerful
58tab-completion, including descriptions of every completion, completion of
59strings with wildcards, and many completions for specific commands. It also
60has extensive and discoverable help. A special help command gives access to
61all the fish documentation in your web browser. Other features include smart
62terminal handling based on terminfo, an easy to search history, and syntax
63highlighting.")
64 (home-page "http://fishshell.com/")
65 (license gpl2)))