mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:03:22 +00:00
3659747127
svn path=/nixpkgs/trunk/; revision=18089
18 lines
416 B
Nix
18 lines
416 B
Nix
{stdenv, fetchurl, emacs}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "haskell-mode-2.6.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://projects.haskell.org/haskellmode-emacs/${name}.tar.gz";
|
|
sha256 = "cc33fd0d4692667a6eb56fea3dc549de3897d8dbb7b71818489760f45d564a76";
|
|
};
|
|
|
|
buildInputs = [emacs];
|
|
|
|
installPhase = ''
|
|
ensureDir "$out/share/emacs/site-lisp"
|
|
cp *.el *.elc *.hs "$out/share/emacs/site-lisp/"
|
|
'';
|
|
}
|