2008-07-09 17:21:03 +01:00
|
|
|
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";
|
|
|
|
|
2008-08-07 18:30:35 +01:00
|
|
|
installPhase = ''
|
2008-07-09 17:21:03 +01:00
|
|
|
python ./setup.py install --prefix=$out
|
2008-08-07 18:30:35 +01:00
|
|
|
d="$out/etc/bash_completion.d"
|
|
|
|
ensureDir $d; ln -s "$out/share/stgit/contrib/stgit-completion.bash" "$d"
|
|
|
|
'';
|
2008-07-09 17:21:03 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "quilt for git (stacking patches)";
|
|
|
|
homepage = http://procode.org/stgit/;
|
|
|
|
license = "GPL";
|
|
|
|
};
|
|
|
|
}
|