emacs-packages: Remove rainbow-delimiters from old emacs package infrastructure

This commit is contained in:
adisbladis 2019-08-18 17:02:43 +01:00
parent 5413061d52
commit 3e81a52ffb
No known key found for this signature in database
GPG key ID: 110BFAD44C6249B7

View file

@ -1,23 +0,0 @@
{stdenv, fetchurl, emacs}:
let version = "1.3.13";
in stdenv.mkDerivation {
name = "emacs-rainbow-delimiters-${version}";
src = fetchurl {
url = "https://github.com/jlr/rainbow-delimiters/archive/${version}.tar.gz";
sha256 = "075j3nsk4jm0rs5671n28c1wksrfbvpl9a4f89kzcd7sk1h6ncvl";
};
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
'';
}