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