cab868b9a3
The idea of downloading the source code tarball directly from gitorious.org was great, but didn't work. Apparently, those tarballs have different checksums every time they're generated. To remedy the situation, I've copied the proper tarball statically to <http://cryp.to/magit-mainline-0.7-94-gbf42bf8.tar.gz>. svn path=/nixpkgs/trunk/; revision=20653
34 lines
1.1 KiB
Nix
34 lines
1.1 KiB
Nix
{stdenv, fetchurl, emacs, texinfo, autoconf, automake}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "magit-0.7-94-gbf42bf8";
|
|
|
|
src = fetchurl {
|
|
url = "http://cryp.to/magit-mainline-0.7-94-gbf42bf8.tar.gz";
|
|
sha256 = "16km4bjp8l011zfqy71jdh0skw829n8r5lgdy6gj996i2bis8hv5";
|
|
};
|
|
unpackCmd = "tar xf $src";
|
|
preConfigure = "./autogen.sh";
|
|
|
|
buildInputs = [emacs texinfo autoconf automake];
|
|
|
|
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/";
|
|
};
|
|
}
|