mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 08:01:14 +00:00
emacs-packages: Remove haskell from old emacs package infrastructure
This commit is contained in:
parent
f6350284d2
commit
84a09cad68
|
@ -1,42 +0,0 @@
|
|||
{ stdenv, fetchFromGitHub, emacs, texinfo }:
|
||||
|
||||
# Use "emacsMelpa.haskell-mode" instead.
|
||||
|
||||
let
|
||||
version = "13.14-169-g0d3569d"; # git describe --tags
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "haskell-mode-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "haskell";
|
||||
repo = "haskell-mode";
|
||||
rev = "v${version}";
|
||||
sha256 = "0v5iy9wy05hf44wy7qs0c9q0v34m4k6wrqg4kyvji61568k1yx3k";
|
||||
};
|
||||
|
||||
buildInputs = [ emacs texinfo ];
|
||||
|
||||
makeFlags = "VERSION=v${version} GIT_VERSION=v${version}";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/emacs/site-lisp
|
||||
cp *.el *.elc *.hs $out/share/emacs/site-lisp/
|
||||
mkdir -p $out/share/info
|
||||
cp -v *.info* $out/share/info/
|
||||
'';
|
||||
|
||||
# The test suite must run *after* copying the generated files to $out
|
||||
# because "make check" implies "make clean".
|
||||
doInstallCheck = true;
|
||||
installCheckTarget = "check";
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/haskell/haskell-mode;
|
||||
description = "Haskell mode for Emacs";
|
||||
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.peti ];
|
||||
broken = true; # no longer compiles and this package is obsolete anyway
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue