nixpkgs/pkgs/applications/editors/emacs-modes/haskell/default.nix

26 lines
640 B
Nix
Raw Normal View History

2013-07-20 13:01:41 +02:00
{ stdenv, fetchurl, emacs, texinfo }:
stdenv.mkDerivation rec {
2013-07-20 13:01:41 +02:00
name = "haskell-mode-13.07";
src = fetchurl {
2013-07-20 13:01:41 +02:00
url = "https://github.com/haskell/haskell-mode/archive/v13.07.tar.gz";
sha256 = "15c8ncj9mykkrizy1a8l94gq37s8hj13v3p5rgyaj9z0cwgl85kx";
};
2013-07-20 13:01:41 +02:00
buildInputs = [ emacs texinfo ];
installPhase = ''
mkdir -p "$out/share/emacs/site-lisp"
cp *.el *.elc *.hs "$out/share/emacs/site-lisp/"
'';
meta = {
homepage = "http://github.com/haskell/haskell-mode";
description = "Haskell mode for Emacs";
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.simons ];
};
}