Haskell mode for emacs

svn path=/nixpkgs/trunk/; revision=1832
This commit is contained in:
Martin Bravenboer 2004-12-06 07:36:56 +00:00
parent 17f7a05a97
commit 6863445f23
3 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,6 @@
. $stdenv/setup
mkdir -p $out/emacs/site-lisp
tar zxvf $src
cp haskell-mode*/*.el $out/emacs/site-lisp
cp haskell-mode*/*.hs $out/emacs/site-lisp

View File

@ -0,0 +1,8 @@
{stdenv, fetchurl}: stdenv.mkDerivation {
name = "haskell-mode-1.45";
builder = ./builder.sh;
src = fetchurl {
url = http://www.haskell.org/haskell-mode/haskell-mode-1.45.tar.gz;
md5 = "c609998580cdb9ca8888c7d47d22ca3b";
};
}

View File

@ -916,6 +916,10 @@ rec {
inherit fetchurl stdenv;
};
haskellMode = (import ../applications/editors/emacs/modes/haskell) {
inherit fetchurl stdenv;
};
nano = (import ../applications/editors/nano) {
inherit fetchurl stdenv ncurses;
};