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