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