2017-12-16 20:06:43 -08:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, python, setuptoolsTrial, mock, twisted, future }:
|
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";
|
2018-10-03 23:16:00 -07:00
|
|
|
version = "1.4.0";
|
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;
|
2018-10-03 23:16:00 -07:00
|
|
|
sha256 = "12zvf4c39b6s4g1f2w407q8kkw602m88rc1ggi4w9pkw3bwbxrgy";
|
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 = ''
|
2017-03-08 07:55:16 -08:00
|
|
|
substituteInPlace buildbot_worker/scripts/logwatcher.py --replace '/usr/bin/tail' "$(type -P tail)"
|
2017-01-30 09:44:14 -08:00
|
|
|
'';
|
|
|
|
|
2017-12-16 20:06:43 -08:00
|
|
|
meta = with lib; {
|
2016-08-09 16:08:01 -07:00
|
|
|
homepage = http://buildbot.net/;
|
|
|
|
description = "Buildbot Worker Daemon";
|
|
|
|
maintainers = with maintainers; [ nand0p ryansydnor ];
|
2016-10-04 10:20:09 -07:00
|
|
|
license = licenses.gpl2;
|
2016-08-09 16:08:01 -07:00
|
|
|
};
|
|
|
|
})
|