2010-03-16 13:13:40 +01:00
|
|
|
{stdenv, fetchurl, emacs, texinfo, autoconf, automake}:
|
2009-06-25 16:31:20 +02:00
|
|
|
|
2010-03-23 13:29:21 +01:00
|
|
|
let
|
|
|
|
version = "0.7-109-g0fc3980";
|
|
|
|
in
|
2009-06-25 16:31:20 +02:00
|
|
|
stdenv.mkDerivation {
|
2010-03-23 13:29:21 +01:00
|
|
|
name = "magit-${version}";
|
2009-06-25 16:31:20 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-03-23 13:29:21 +01:00
|
|
|
url = "http://cryp.to/magit-mainline-${version}.tar.gz";
|
2010-03-23 12:56:44 +01:00
|
|
|
sha256 = "0jyx57znvn49xm0h92kh8iywn44ip130dpflzq2ns2k6gspg36b6";
|
2009-06-25 16:31:20 +02:00
|
|
|
};
|
2010-03-16 13:13:40 +01:00
|
|
|
unpackCmd = "tar xf $src";
|
|
|
|
preConfigure = "./autogen.sh";
|
2009-06-25 16:31:20 +02:00
|
|
|
|
2010-03-16 13:13:40 +01:00
|
|
|
buildInputs = [emacs texinfo autoconf automake];
|
2009-06-25 16:31:20 +02:00
|
|
|
|
|
|
|
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/";
|
|
|
|
};
|
|
|
|
}
|