2008-07-07 12:49:57 +01:00
|
|
|
{stdenv, fetchurl, emacs}:
|
|
|
|
|
2008-09-02 14:51:32 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2010-07-20 15:53:35 +01:00
|
|
|
name = "haskell-mode-2.7.0";
|
2009-11-04 10:29:38 +00:00
|
|
|
|
2008-09-02 14:51:32 +01:00
|
|
|
src = fetchurl {
|
2009-11-04 10:29:38 +00:00
|
|
|
url = "http://projects.haskell.org/haskellmode-emacs/${name}.tar.gz";
|
2010-07-20 15:53:35 +01:00
|
|
|
sha256 = "8b45c55ed5f2b498529a6d7e01b77fea899c1de93e24653cab188cb3a4f495bc";
|
2005-12-22 10:49:43 +00:00
|
|
|
};
|
2009-11-04 10:29:38 +00:00
|
|
|
|
2008-07-07 12:49:57 +01:00
|
|
|
buildInputs = [emacs];
|
2009-11-04 10:29:38 +00:00
|
|
|
|
2008-09-02 14:51:32 +01:00
|
|
|
installPhase = ''
|
2008-07-07 12:49:57 +01:00
|
|
|
ensureDir "$out/share/emacs/site-lisp"
|
|
|
|
cp *.el *.elc *.hs "$out/share/emacs/site-lisp/"
|
|
|
|
'';
|
2010-10-07 14:13:42 +01: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 10:49:43 +00:00
|
|
|
}
|