forked from mirrors/nixpkgs
git-modes: add git-modes package version 0.15.0-8-g4e10851 for Emacs
These files are required by the latest version of Magit.
This commit is contained in:
parent
807e834742
commit
3b4a72c3d6
29
pkgs/applications/editors/emacs-modes/git-modes/default.nix
Normal file
29
pkgs/applications/editors/emacs-modes/git-modes/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ stdenv, fetchFromGitHub, emacs }:
|
||||
|
||||
let
|
||||
version = "0.15.0-8-g4e10851";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "git-modes-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "magit";
|
||||
repo = "git-modes";
|
||||
rev = "4e10851843145e0c05fc665683d3b487a57ad114";
|
||||
sha256 = "13j794a2p4ql9dnw2z0c1m0ybclxsicbk8cmmfqcchs4ygiyc6ag";
|
||||
};
|
||||
|
||||
buildInputs = [ emacs ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/emacs/site-lisp
|
||||
mv *.el *.elc $out/share/emacs/site-lisp/
|
||||
'';
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -9063,6 +9063,8 @@ let
|
|||
|
||||
gist = callPackage ../applications/editors/emacs-modes/gist { };
|
||||
|
||||
gitModes = callPackage ../applications/editors/emacs-modes/git-modes { };
|
||||
|
||||
haskellMode = callPackage ../applications/editors/emacs-modes/haskell { };
|
||||
|
||||
hol_light_mode = callPackage ../applications/editors/emacs-modes/hol_light { };
|
||||
|
|
Loading…
Reference in a new issue