emacs-flycheck: add current snapshot from Git

This commit is contained in:
Peter Simons 2015-01-30 18:30:59 +01:00
parent 9f1cb04876
commit 008256d8bd
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ stdenv, fetchFromGitHub, emacs, let-alist, dash, texinfo }:
stdenv.mkDerivation {
name = "flycheck-0.22-64-g90dbc2d";
src = fetchFromGitHub {
owner = "flycheck";
repo = "flycheck";
rev = "90dbc2d";
sha256 = "08bg4jps6hjldbcrvqarrwdv4xzirm5pns5s0331wm0sc47yvbli";
};
buildInputs = [ emacs texinfo ];
buildPhase = ''
emacs -L ${let-alist}/share/emacs/site-lisp -L ${dash}/share/emacs/site-lisp --batch -f batch-byte-compile flycheck.el
makeinfo --force --no-split -o doc/flycheck.info doc/flycheck.texi
'';
installPhase = ''
mkdir -p $out/share/emacs/site-lisp $out/share/info
mv flycheck.el flycheck.elc $out/share/emacs/site-lisp/
mv "doc/"*.info $out/share/info/
'';
meta = {
homepage = "https://github.com/magit/git-modes";
description = "Emacs modes for various Git-related files";
license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.lib.maintainers; [ simons ];
};
}

View File

@ -9803,6 +9803,8 @@ let
ess = callPackage ../applications/editors/emacs-modes/ess { };
flycheck = callPackage ../applications/editors/emacs-modes/flycheck { };
flymakeCursor = callPackage ../applications/editors/emacs-modes/flymake-cursor { };
gh = callPackage ../applications/editors/emacs-modes/gh { };