2008-03-12 11:36:15 +01:00
|
|
|
{subversion, stdenv, python, shebangfix }:
|
|
|
|
stdenv.mkDerivation {
|
2008-03-19 23:32:00 +01:00
|
|
|
name = "svnmerge-${subversion.version}";
|
2008-03-12 11:36:15 +01:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|