2020-06-18 07:06:33 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, buildbot, setuptoolsTrial, mock, twisted,
|
2021-05-20 23:08:51 +00:00
|
|
|
future, coreutils, nixosTests }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage (rec {
|
|
|
|
pname = "buildbot-worker";
|
2020-06-18 07:06:33 +00:00
|
|
|
inherit (buildbot) version;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "sha256-SFZ0Q51hrBb7eBMGzvVOhc/ogFCIO/Mo7U9652WJ2GU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ twisted future ];
|
|
|
|
|
|
|
|
checkInputs = [ setuptoolsTrial mock ];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace buildbot_worker/scripts/logwatcher.py \
|
|
|
|
--replace /usr/bin/tail "${coreutils}/bin/tail"
|
|
|
|
'';
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
passthru.tests = {
|
|
|
|
smoke-test = nixosTests.buildbot;
|
|
|
|
};
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://buildbot.net/";
|
|
|
|
description = "Buildbot Worker Daemon";
|
2021-05-20 23:08:51 +00:00
|
|
|
maintainers = with maintainers; [ ryansydnor lopsided98 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
})
|