2012-08-13 14:17:31 +00:00
|
|
|
{ stdenv, fetchgit, emacs }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "jade-mode-0-20120802";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/brianc/jade-mode.git";
|
|
|
|
rev = "275ab149edb0f6bcfae6ac17ba456f3351191604";
|
|
|
|
sha256 = "3cd2bebcd66e59d60b8e5e538e65a8ffdfc9a53b86443090a284e8329d7cb09b";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ emacs ];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
emacs --batch -L . -f batch-byte-compile *.el
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/emacs/site-lisp
|
|
|
|
cp *.el *.elc $out/share/emacs/site-lisp/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2013-10-06 09:49:53 +00:00
|
|
|
description = "Emacs major mode for jade and stylus";
|
2012-08-13 14:17:31 +00:00
|
|
|
homepage = https://github.com/brianc/jade-mode;
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2012-08-13 14:17:31 +00:00
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|