2008-07-07 13:49:57 +02:00
|
|
|
{stdenv, fetchurl, emacs}:
|
|
|
|
|
2008-09-02 15:51:32 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2010-10-07 15:14:01 +02:00
|
|
|
name = "haskell-mode-2.8.0";
|
2009-11-04 11:29:38 +01:00
|
|
|
|
2008-09-02 15:51:32 +02:00
|
|
|
src = fetchurl {
|
2009-11-04 11:29:38 +01:00
|
|
|
url = "http://projects.haskell.org/haskellmode-emacs/${name}.tar.gz";
|
2010-10-07 15:14:01 +02:00
|
|
|
sha256 = "1065g4xy3ca72xhqh6hfxs5j3mls82bli8w5rhz1npzyfwlwhkb1";
|
2005-12-22 11:49:43 +01:00
|
|
|
};
|
2009-11-04 11:29:38 +01:00
|
|
|
|
2008-07-07 13:49:57 +02:00
|
|
|
buildInputs = [emacs];
|
2009-11-04 11:29:38 +01:00
|
|
|
|
2008-09-02 15:51:32 +02:00
|
|
|
installPhase = ''
|
2008-07-07 13:49:57 +02:00
|
|
|
ensureDir "$out/share/emacs/site-lisp"
|
|
|
|
cp *.el *.elc *.hs "$out/share/emacs/site-lisp/"
|
|
|
|
'';
|
2010-10-07 15:13:42 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://projects.haskell.org/haskellmode-emacs/";
|
|
|
|
description = "Haskell mode package for Emacs";
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
|
|
|
};
|
2005-12-22 11:49:43 +01:00
|
|
|
}
|