2017-03-08 15:55:16 +00:00
|
|
|
{ stdenv, pythonPackages }:
|
2016-08-10 00:08:01 +01:00
|
|
|
|
|
|
|
pythonPackages.buildPythonApplication (rec {
|
2016-09-16 00:16:23 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "buildbot-worker";
|
2017-02-27 19:02:11 +00:00
|
|
|
version = "0.9.4";
|
2016-08-10 00:08:01 +01:00
|
|
|
|
2017-03-08 15:55:16 +00:00
|
|
|
src = pythonPackages.fetchPypi {
|
|
|
|
inherit pname version;
|
2017-02-27 19:02:11 +00:00
|
|
|
sha256 = "0rdrr8x7sn2nxl51p6h9ad42s3c28lb6sys84zrg0d7fm4zhv7hj";
|
2016-08-10 00:08:01 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = with pythonPackages; [ setuptoolsTrial mock ];
|
|
|
|
propagatedBuildInputs = with pythonPackages; [ twisted future ];
|
|
|
|
|
2017-01-30 17:44:14 +00:00
|
|
|
postPatch = ''
|
2017-03-08 15:55:16 +00:00
|
|
|
substituteInPlace buildbot_worker/scripts/logwatcher.py --replace '/usr/bin/tail' "$(type -P tail)"
|
2017-01-30 17:44:14 +00:00
|
|
|
'';
|
|
|
|
|
2016-08-10 00:08:01 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://buildbot.net/;
|
|
|
|
description = "Buildbot Worker Daemon";
|
|
|
|
maintainers = with maintainers; [ nand0p ryansydnor ];
|
2016-10-04 18:20:09 +01:00
|
|
|
license = licenses.gpl2;
|
2016-08-10 00:08:01 +01:00
|
|
|
};
|
|
|
|
})
|