22 lines
569 B
Nix
22 lines
569 B
Nix
|
{ coreutils, fetchgit, fetchFromGitHub, buildbot-classic, python2Packages, ... }:
|
||
|
|
||
|
python2Packages.buildPythonApplication {
|
||
|
name = "buildbot-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"
|
||
|
'';
|
||
|
}
|