2020-06-06 16:16:19 -07:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, buildbot, setuptoolsTrial, mock, twisted,
|
|
|
|
future, coreutils }:
|
2016-08-09 16:08:01 -07:00
|
|
|
|
2017-12-16 20:06:43 -08:00
|
|
|
buildPythonPackage (rec {
|
2016-09-15 16:16:23 -07:00
|
|
|
pname = "buildbot-worker";
|
2020-06-06 16:16:19 -07:00
|
|
|
inherit (buildbot) version;
|
2016-08-09 16:08:01 -07:00
|
|
|
|
2017-12-16 20:06:43 -08:00
|
|
|
src = fetchPypi {
|
2017-03-08 07:55:16 -08:00
|
|
|
inherit pname version;
|
2020-12-08 19:16:52 -08:00
|
|
|
sha256 = "1salrdirny1jpm53shb9dhzs1w7rbp5q7z2qpzrg1nmsh2kcd6ap";
|
2016-08-09 16:08:01 -07:00
|
|
|
};
|
|
|
|
|
2017-12-16 20:06:43 -08:00
|
|
|
propagatedBuildInputs = [ twisted future ];
|
|
|
|
|
|
|
|
checkInputs = [ setuptoolsTrial mock ];
|
2016-08-09 16:08:01 -07:00
|
|
|
|
2017-01-30 09:44:14 -08:00
|
|
|
postPatch = ''
|
2019-06-22 17:39:14 -07:00
|
|
|
substituteInPlace buildbot_worker/scripts/logwatcher.py \
|
|
|
|
--replace /usr/bin/tail "${coreutils}/bin/tail"
|
2017-01-30 09:44:14 -08:00
|
|
|
'';
|
|
|
|
|
2017-12-16 20:06:43 -08:00
|
|
|
meta = with lib; {
|
2019-10-26 18:27:30 -07:00
|
|
|
homepage = "https://buildbot.net/";
|
2016-08-09 16:08:01 -07:00
|
|
|
description = "Buildbot Worker Daemon";
|
2019-08-18 10:20:18 -07:00
|
|
|
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
|
2016-10-04 10:20:09 -07:00
|
|
|
license = licenses.gpl2;
|
2016-08-09 16:08:01 -07:00
|
|
|
};
|
|
|
|
})
|