2008-07-07 13:49:57 +02:00
|
|
|
{stdenv, fetchurl, emacs}:
|
|
|
|
|
2008-09-02 15:51:32 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2009-11-04 11:29:38 +01:00
|
|
|
name = "haskell-mode-2.6.1";
|
|
|
|
|
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";
|
|
|
|
sha256 = "cc33fd0d4692667a6eb56fea3dc549de3897d8dbb7b71818489760f45d564a76";
|
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/"
|
|
|
|
'';
|
2005-12-22 11:49:43 +01:00
|
|
|
}
|