3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/version-management/git-and-tools/stgit/default.nix
Marc Weber 0ad62a0edb adding gitAttr
now containing qgit, stgit, topGit, hg2git
updating gitGit (git dev version), adding qgit-git (dev version)

svn path=/nixpkgs/trunk/; revision=13816
2009-01-20 22:15:42 +00:00

26 lines
632 B
Nix

args:
args.stdenv.mkDerivation {
name = "stgit-0.14.3";
src = args.fetchurl {
url = http://homepage.ntlworld.com/cmarinas/stgit/stgit-0.14.3.tar.gz;
sha256 = "13gcvz6x91m2860n26xp12j0xsshzvwij03sfzm5g3ckm18ffkw7";
};
buildInputs =(with args; [python git]);
buildPhase = "true";
installPhase = ''
python ./setup.py install --prefix=$out
d="$out/etc/bash_completion.d"
ensureDir $d; ln -s "$out/share/stgit/contrib/stgit-completion.bash" "$d"
'';
meta = {
description = "quilt for git (stacking patches)";
homepage = http://procode.org/stgit/;
license = "GPL";
};
}