emacs-packages: Remove writegood from old emacs package infrastructure

This commit is contained in:
adisbladis 2019-08-18 17:02:44 +01:00
parent 8a6932bc3d
commit 38edd7b05a
No known key found for this signature in database
GPG Key ID: 110BFAD44C6249B7

View File

@ -1,30 +0,0 @@
{stdenv, fetchurl, emacs}:
let version = "2.0.2";
in stdenv.mkDerivation {
name = "writegood-mode-${version}";
src = fetchurl {
url = "https://github.com/bnbeckwith/writegood-mode/archive/v${version}.tar.gz";
sha256 = "1ilbqj24vzpfh9n1wph7idj0914ga290jkpv9kr1pff3a0v5hf6k";
};
buildInputs = [ emacs ];
buildPhase = ''
emacs -L . --batch -f batch-byte-compile *.el
'';
installPhase = ''
install -d $out/share/emacs/site-lisp
install *.el *.elc $out/share/emacs/site-lisp
'';
meta = {
description = "Emacs minor mode that aids in finding common writing problems";
homepage = https://github.com/bnbeckwith/writegood-mode;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.pSub ];
license = stdenv.lib.licenses.gpl3;
};
}