2010-05-12 11:09:55 +02:00
|
|
|
{ stdenv, fetchurl, emacs, texinfo }:
|
2009-06-25 16:31:20 +02:00
|
|
|
|
2010-03-23 13:29:21 +01:00
|
|
|
let
|
2012-04-21 00:37:30 +02:00
|
|
|
version = "1.1.1";
|
2010-03-23 13:29:21 +01:00
|
|
|
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
|
|
|
|
2010-05-12 11:09:55 +02:00
|
|
|
src = fetchurl {
|
2011-07-18 15:45:47 +02:00
|
|
|
url = "http://github.com/downloads/magit/magit/magit-${version}.tar.gz";
|
2012-04-21 00:37:30 +02:00
|
|
|
sha256 = "0zp5qxippmalin2fr73w2alf2w7ilcahmybzdvgn4ch2s3dgvzcz";
|
2009-06-25 16:31:20 +02:00
|
|
|
};
|
|
|
|
|
2010-05-12 11:09:55 +02:00
|
|
|
buildInputs = [emacs texinfo];
|
2009-06-25 16:31:20 +02:00
|
|
|
|
2011-12-26 21:24:59 +01:00
|
|
|
configurePhase = "makeFlagsArray=( PREFIX=$out SYSCONFDIR=$out/etc )";
|
2011-03-26 12:50:01 +01:00
|
|
|
|
2009-06-25 16:31:20 +02:00
|
|
|
meta = {
|
2011-03-26 12:50:01 +01:00
|
|
|
description = "Magit, an Emacs interface to Git";
|
2009-06-25 16:31:20 +02:00
|
|
|
|
|
|
|
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+";
|
2011-12-26 21:24:59 +01:00
|
|
|
homepage = "https://github.com/magit/magit";
|
2010-05-12 11:09:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2011-03-26 12:50:01 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ simons ludo ];
|
2009-06-25 16:31:20 +02:00
|
|
|
};
|
|
|
|
}
|