linux-initrd: Add USB kernel modules to the default initrd.
[jackhill/guix/guix.git] / gnu / packages / fish.scm
CommitLineData
361046f7
DT
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2014 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 (guix packages)
24 #:use-module (guix download)
25 #:use-module (guix utils)
26 #:use-module (guix build-system gnu))
27
28(define-public fish
29 (package
30 (name "fish")
4c8d523f 31 (version "2.1.1")
361046f7
DT
32 (source (origin
33 (method url-fetch)
34 (uri (string-append "http://fishshell.com/files/"
35 version "/fish-" version ".tar.gz"))
36 (sha256
37 (base32
fa9d6653
SB
38 "096rhi911s3j618cvp8fj9pb4jniy3y6415jvjg8bhszsp1x7r5p"))
39 (modules '((guix build utils)))
40 ;; Don't try to install /etc/fish/config.fish.
41 (snippet
42 '(substitute* "Makefile.in"
43 ((".*INSTALL.*sysconfdir.*fish.*") "")))))
361046f7
DT
44 (build-system gnu-build-system)
45 (native-inputs
46 `(("doxygen" ,doxygen)))
47 (inputs
48 `(("ncurses" ,ncurses)))
49 (arguments
fa9d6653
SB
50 '(#:tests? #f ; no check target
51 #:configure-flags '("--sysconfdir=/etc")))
361046f7
DT
52 (synopsis "The friendly interactive shell")
53 (description
54 "Fish (friendly interactive shell) is a shell focused on interactive use,
55discoverability, and friendliness. Fish has very user-friendly and powerful
56tab-completion, including descriptions of every completion, completion of
57strings with wildcards, and many completions for specific commands. It also
58has extensive and discoverable help. A special help command gives access to
35b9e423 59all the fish documentation in your web browser. Other features include smart
361046f7 60terminal handling based on terminfo, an easy to search history, and syntax
35b9e423 61highlighting.")
361046f7
DT
62 (home-page "http://fishshell.com/")
63 (license gpl2)))