mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
emacs-flycheck: add current snapshot from Git
This commit is contained in:
parent
9f1cb04876
commit
008256d8bd
32
pkgs/applications/editors/emacs-modes/flycheck/default.nix
Normal file
32
pkgs/applications/editors/emacs-modes/flycheck/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user