22 lines
577 B
Nix
22 lines
577 B
Nix
{ coreutils, fetchgit, fetchFromGitHub, buildbot-classic, python2Packages, ... }:
|
|
|
|
python2Packages.buildPythonApplication {
|
|
name = "buildbot-classic-slave-0.8.12";
|
|
namePrefix = "";
|
|
|
|
src = buildbot-classic.src;
|
|
postUnpack = "sourceRoot=\${sourceRoot}/slave";
|
|
|
|
patchPhase = ''
|
|
substituteInPlace buildslave/scripts/logwatcher.py --replace /usr/bin/tail ${coreutils}/bin/tail
|
|
'';
|
|
|
|
propagatedBuildInputs = [ python2Packages.twisted ];
|
|
doCheck = false;
|
|
|
|
postInstall = ''
|
|
mkdir -p "$out/share/man/man1"
|
|
cp docs/buildslave.1 "$out/share/man/man1"
|
|
'';
|
|
}
|