added svnmerge.py contrib tool

svn path=/nixpkgs/trunk/; revision=11075
This commit is contained in:
Marc Weber
2008-03-12 10:36:15 +00:00
parent 5693576572
commit 8939f24475
2 changed files with 27 additions and 0 deletions
@@ -0,0 +1,22 @@
{subversion, stdenv, python, shebangfix }:
stdenv.mkDerivation {
name = "${subversion.name}-svnmerge";
src = subversion.src;
phases = "unpackPhase buildPhase";
buildInputs = [ shebangfix python ];
buildPhase = "
ensureDir \$out/bin
t=\$out/bin/svnmerge.py
cp contrib/client-side/svnmerge.py \$t
chmod +x \$t
shebangfix \$t
";
meta = subversion.meta // {
description = "installs the contrib tool svnmerge.py";
};
}