2008-07-07 13:49:57 +02:00
|
|
|
{stdenv, fetchurl, emacs}:
|
|
|
|
|
2008-09-02 15:51:32 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2010-07-20 16:53:35 +02:00
|
|
|
name = "haskell-mode-2.7.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-07-20 16:53:35 +02:00
|
|
|
sha256 = "8b45c55ed5f2b498529a6d7e01b77fea899c1de93e24653cab188cb3a4f495bc";
|
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
|
|
|
}
|