1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

emacs-rainbow-delimiters: add version 1.3.8

This commit is contained in:
Peter Simons 2014-09-06 13:30:13 +02:00
parent 4c5d12d3f0
commit 1e92a86240
2 changed files with 25 additions and 0 deletions

View file

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

View file

@ -8743,6 +8743,8 @@ let
quack = callPackage ../applications/editors/emacs-modes/quack { };
rainbowDelimiters = callPackage ../applications/editors/emacs-modes/rainbow-delimiters { };
rectMark = callPackage ../applications/editors/emacs-modes/rect-mark { };
remember = callPackage ../applications/editors/emacs-modes/remember { };