mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
79f19f687c
No change was documented on the emacs wiki. Not sure what happened. :-(
31 lines
790 B
Nix
31 lines
790 B
Nix
{ stdenv, fetchurl, emacs }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "flymake-cursor-0.1.5";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.emacswiki.org/emacs/download/flymake-cursor.el";
|
|
sha256 = "10cpzrd588ya52blghxss5zkn6x8hc7bx1h0qbcdlybbmkjgpkxr";
|
|
};
|
|
|
|
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 = {
|
|
description = "Displays flymake error msg in minibuffer after delay";
|
|
homepage = http://www.emacswiki.org/emacs/flymake-cursor.el;
|
|
license = stdenv.lib.licenses.publicDomain;
|
|
};
|
|
}
|