From d050978c818408e845732165c37666562ba04fba Mon Sep 17 00:00:00 2001 From: David Thompson Date: Thu, 10 Jul 2014 08:07:00 -0400 Subject: [PATCH] gnu: Add fish. * gnu/packages/fish.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. --- gnu-system.am | 1 + gnu/packages/fish.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 gnu/packages/fish.scm diff --git a/gnu-system.am b/gnu-system.am index e25c922..a1a5bda 100644 --- a/gnu-system.am +++ b/gnu-system.am @@ -76,6 +76,7 @@ GNU_SYSTEM_MODULES = \ gnu/packages/elf.scm \ gnu/packages/emacs.scm \ gnu/packages/file.scm \ + gnu/packages/fish.scm \ gnu/packages/flex.scm \ gnu/packages/fltk.scm \ gnu/packages/fonts.scm \ diff --git a/gnu/packages/fish.scm b/gnu/packages/fish.scm new file mode 100644 index 0000000..6868b24 --- /dev/null +++ b/gnu/packages/fish.scm @@ -0,0 +1,46 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2014 David Thompson +;;; +;;; 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 fish) + #:use-module (guix licenses) + #:use-module (gnu packages ncurses) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix utils) + #:use-module (guix build-system gnu)) + +(define-public fish + (package + (name "fish") + (version "2.1.0") + (source (origin + (method url-fetch) + (uri (string-append "http://fishshell.com/files/" + version "/fish-" version ".tar.gz")) + (sha256 + (base32 + "0i7h3hx8iszli3d4kphw79sz9m07f2lc2c9hr9smdps5s7wpllmg")))) + (build-system gnu-build-system) + (inputs + `(("ncurses" ,ncurses))) + (arguments + '(#:tests? #f)) ; no check target + (synopsis "The friendly interactive shell") + (description "Fish is a smart and user-friendly command line shell.") + (home-page "http://fishshell.com/") + (license gpl2))) -- 2.0.0