forked from mirrors/nixpkgs
ae475a72bf
svn path=/nixpkgs/trunk/; revision=11211
23 lines
466 B
Nix
23 lines
466 B
Nix
{subversion, stdenv, python, shebangfix }:
|
|
stdenv.mkDerivation {
|
|
name = "svnmerge-${subversion.version}";
|
|
|
|
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";
|
|
};
|
|
}
|