about summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2014-10-22 11:32:53 +0200
committerPeter Simons <simons@cryp.to>2014-10-22 11:46:56 +0200
commit3b4a72c3d6c5a4ca93e5b8202dfd7735b0e42fe2 (patch)
tree2b628863d8535f7d915da9e66cdfe7d1dafaeb06 /pkgs/applications/editors
parent807e834742889c6801aae2c5cb438587e3412d56 (diff)
downloadnixlib-3b4a72c3d6c5a4ca93e5b8202dfd7735b0e42fe2.tar
nixlib-3b4a72c3d6c5a4ca93e5b8202dfd7735b0e42fe2.tar.gz
nixlib-3b4a72c3d6c5a4ca93e5b8202dfd7735b0e42fe2.tar.bz2
nixlib-3b4a72c3d6c5a4ca93e5b8202dfd7735b0e42fe2.tar.lz
nixlib-3b4a72c3d6c5a4ca93e5b8202dfd7735b0e42fe2.tar.xz
nixlib-3b4a72c3d6c5a4ca93e5b8202dfd7735b0e42fe2.tar.zst
nixlib-3b4a72c3d6c5a4ca93e5b8202dfd7735b0e42fe2.zip
git-modes: add git-modes package version 0.15.0-8-g4e10851 for Emacs
These files are required by the latest version of Magit.
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/emacs-modes/git-modes/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/editors/emacs-modes/git-modes/default.nix b/pkgs/applications/editors/emacs-modes/git-modes/default.nix
new file mode 100644
index 000000000000..8a2ca6eb9090
--- /dev/null
+++ b/pkgs/applications/editors/emacs-modes/git-modes/default.nix
@@ -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 ];
+  };
+}