mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
8939f24475
svn path=/nixpkgs/trunk/; revision=11075
23 lines
463 B
Nix
23 lines
463 B
Nix
{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";
|
|
};
|
|
}
|