2012-08-10 13:47:16 +01:00
|
|
|
{ stdenv, fetchurl, emacs }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-01-07 00:09:37 +00:00
|
|
|
name = "flymake-cursor-0.1.5";
|
2012-08-10 13:47:16 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.emacswiki.org/emacs/download/flymake-cursor.el";
|
2014-04-08 10:52:11 +01:00
|
|
|
sha256 = "10cpzrd588ya52blghxss5zkn6x8hc7bx1h0qbcdlybbmkjgpkxr";
|
2012-08-10 13:47:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
phases = [ "buildPhase" "installPhase"];
|
|
|
|
|
|
|
|
buildInputs = [ emacs ];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
cp $src flymake-cursor.el
|
|
|
|
emacs --batch -f batch-byte-compile flymake-cursor.el
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -d $out/share/emacs/site-lisp
|
|
|
|
install flymake-cursor.el flymake-cursor.elc $out/share/emacs/site-lisp
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Displays flymake error msg in minibuffer after delay";
|
2012-08-10 13:47:16 +01:00
|
|
|
homepage = http://www.emacswiki.org/emacs/flymake-cursor.el;
|
2012-08-11 10:32:21 +01:00
|
|
|
license = stdenv.lib.licenses.publicDomain;
|
2012-08-10 13:47:16 +01:00
|
|
|
};
|
|
|
|
}
|