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