2014-09-06 12:30:13 +01:00
|
|
|
{stdenv, fetchurl, emacs}:
|
|
|
|
|
2014-11-18 20:23:41 +00:00
|
|
|
let version = "1.3.13";
|
2014-09-06 12:30:13 +01:00
|
|
|
|
|
|
|
in stdenv.mkDerivation {
|
|
|
|
name = "emacs-rainbow-delimiters-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/jlr/rainbow-delimiters/archive/${version}.tar.gz";
|
2014-11-18 20:23:41 +00:00
|
|
|
sha256 = "075j3nsk4jm0rs5671n28c1wksrfbvpl9a4f89kzcd7sk1h6ncvl";
|
2014-09-06 12:30:13 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
}
|