Added magit-mode 0.7, an Emacs mode for managing Git repositories.

svn path=/nixpkgs/trunk/; revision=16042
This commit is contained in:
Peter Simons 2009-06-25 14:31:20 +00:00
parent acffa10add
commit b12683e174
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{stdenv, fetchurl, emacs, texinfo}:
stdenv.mkDerivation {
name = "magit-mode-0.7";
src = fetchurl {
url = "http://zagadka.vm.bytemark.co.uk/magit/magit-0.7.tar.gz";
sha256 = "0qry1vj41pycwkf71sqrz3zgzh85zdg5acq26asscq4s7jksrjiz";
};
buildInputs = [emacs texinfo];
meta = {
description = "An an interface to Git, implemented as an extension to Emacs.";
longDescription = ''
With Magit, you can inspect and modify your Git repositories with
Emacs. You can review and commit the changes you have made to the
tracked files, for example, and you can browse the history of past
changes. There is support for cherry picking, reverting, merging,
rebasing, and other common Git operations.
Magit is not a complete interface to Git; it just aims to make the
most common Git operations convenient. Thus, Magit will likely not
save you from learning Git itself.
'';
license = "GPLv3+";
homepage = "http://zagadka.vm.bytemark.co.uk/magit/";
};
}

View File

@ -946,6 +946,10 @@ let
inherit fetchurl stdenv lzo;
};
magit = import ../applications/editors/emacs-modes/magit {
inherit fetchurl stdenv emacs texinfo;
};
man = import ../tools/misc/man {
inherit fetchurl stdenv groff less;
};