stgit: updated to version 0.15
svn path=/nixpkgs/trunk/; revision=29294
This commit is contained in:
parent
cdb830bef2
commit
cd3e9099e9
|
@ -1,25 +1,34 @@
|
||||||
args:
|
{ stdenv, fetchurl, python, git }:
|
||||||
args.stdenv.mkDerivation {
|
|
||||||
name = "stgit-0.14.3";
|
|
||||||
|
|
||||||
src = args.fetchurl {
|
let
|
||||||
url = http://homepage.ntlworld.com/cmarinas/stgit/stgit-0.14.3.tar.gz;
|
name = "stgit-0.15";
|
||||||
sha256 = "13gcvz6x91m2860n26xp12j0xsshzvwij03sfzm5g3ckm18ffkw7";
|
in
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
inherit name;
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://download.gna.org/stgit/${name}.tar.gz";
|
||||||
|
sha256 = "0kgq9x0i7riwcl1lmmm40z0jiz5agr1kqxm2byv1qsf0q1ny47v9";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =(with args; [python git]);
|
buildInputs = [ python git ];
|
||||||
|
|
||||||
buildPhase = "true";
|
makeFlags = "prefix=$$out";
|
||||||
|
|
||||||
installPhase = ''
|
postInstall = ''
|
||||||
python ./setup.py install --prefix=$out
|
ensureDir "$out/etc/bash_completion.d/"
|
||||||
d="$out/etc/bash_completion.d"
|
ln -s ../../share/stgit/completion/stgit-completion.bash "$out/etc/bash_completion.d/"
|
||||||
ensureDir $d; ln -s "$out/share/stgit/contrib/stgit-completion.bash" "$d"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
checkTarget = "test";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "quilt for git (stacking patches)";
|
homepage = "http://procode.org/stgit/";
|
||||||
homepage = http://procode.org/stgit/;
|
description = "StGit is a patch manager implemented on top of Git";
|
||||||
license = "GPL";
|
license = "GPL";
|
||||||
|
|
||||||
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||||
|
platforms = stdenv.lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue