1
0
Fork 1
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:
adisbladis 2019-08-18 17:02:38 +01:00
parent f6350284d2
commit 84a09cad68
No known key found for this signature in database
GPG key ID: 110BFAD44C6249B7

View file

@ -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
};
}