2012-03-21 12:46:18 +01:00
|
|
|
{ stdenv, fetchgit, emacs }:
|
2008-07-07 13:49:57 +02:00
|
|
|
|
2012-03-21 12:46:18 +01:00
|
|
|
stdenv.mkDerivation {
|
2012-08-10 08:23:06 +02:00
|
|
|
name = "haskell-mode-2.8.0.29-gae3e4499d2";
|
2009-11-04 11:29:38 +01:00
|
|
|
|
2012-03-21 12:46:18 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = "http://github.com/haskell/haskell-mode.git";
|
2012-08-10 08:23:06 +02:00
|
|
|
rev = "ae3e4499d27a1468bdf88ffe0ce15cd7e4bb9f2a";
|
|
|
|
sha256 = "29a1725da620c13ff2b3b56906e76dd9f19317eee92bd5750b3aa9a4264effae";
|
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 = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p "$out/share/emacs/site-lisp"
|
2008-07-07 13:49:57 +02:00
|
|
|
cp *.el *.elc *.hs "$out/share/emacs/site-lisp/"
|
|
|
|
'';
|
2010-10-07 15:13:42 +02:00
|
|
|
|
|
|
|
meta = {
|
2012-03-21 12:46:18 +01:00
|
|
|
homepage = "http://github.com/haskell/haskell-mode";
|
|
|
|
description = "Haskell mode for Emacs";
|
2010-10-07 15:13:42 +02:00
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
|
|
|
};
|
2005-12-22 11:49:43 +01:00
|
|
|
}
|