nixpkgs/pkgs/applications/version-management/subversion-1.4.x/svnmerge.nix

23 lines
466 B
Nix
Raw Normal View History

{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";
};
}