git.iko.soy/typeable/nixpkgs
on master help sign in
git-modes: add git-modes package version 0.15.0-8-g4e10851 for Emacs

These files are required by the latest version of Magit.

commit3b4a72c3d6c5a4ca93e5b8202dfd7735b0e42fe2 authorPeter Simons <simons@cryp.to> dateWed 22 Oct 2014, 11:32 (12 years ago) parent807e834
2 files changed+31
pkgs/applications/editors/emacs-modes/git-modes/default.nix+29 pkgs/top-level/all-packages.nix+2
pkgs/applications/editors/emacs-modes/git-modes/default.nixnew file+29
@@ -0,0 +1,29 @@
1+{ stdenv, fetchFromGitHub, emacs }:
2+
3+let
4+ version = "0.15.0-8-g4e10851";
5+in
6+stdenv.mkDerivation {
7+ name = "git-modes-${version}";
8+
9+ src = fetchFromGitHub {
10+ owner = "magit";
11+ repo = "git-modes";
12+ rev = "4e10851843145e0c05fc665683d3b487a57ad114";
13+ sha256 = "13j794a2p4ql9dnw2z0c1m0ybclxsicbk8cmmfqcchs4ygiyc6ag";
14+ };
15+
16+ buildInputs = [ emacs ];
17+
18+ installPhase = ''
19+ mkdir -p $out/share/emacs/site-lisp
20+ mv *.el *.elc $out/share/emacs/site-lisp/
21+ '';
22+
23+ meta = {
24+ homepage = "https://github.com/magit/git-modes";
25+ description = "Emacs modes for various Git-related files";
26+ license = stdenv.lib.licenses.gpl3Plus;
27+ maintainers = with stdenv.lib.maintainers; [ simons ];
28+ };
29+}
pkgs/top-level/all-packages.nix+2
@@ -9063,6 +9063,8 @@ let
90639063
90649064 gist = callPackage ../applications/editors/emacs-modes/gist { };
90659065
9066+ gitModes = callPackage ../applications/editors/emacs-modes/git-modes { };
9067+
90669068 haskellMode = callPackage ../applications/editors/emacs-modes/haskell { };
90679069
90689070 hol_light_mode = callPackage ../applications/editors/emacs-modes/hol_light { };