2017-03-08 07:55:16 -08:00
|
|
|
{ stdenv, pythonPackages }:
|
2016-08-09 16:08:01 -07:00
|
|
|
|
|
|
|
pythonPackages.buildPythonApplication (rec {
|
2016-09-15 16:16:23 -07:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "buildbot-worker";
|
2018-03-16 05:25:15 -07:00
|
|
|
version = "1.1.0";
|
2016-08-09 16:08:01 -07:00
|
|
|
|
2017-03-08 07:55:16 -08:00
|
|
|
src = pythonPackages.fetchPypi {
|
|
|
|
inherit pname version;
|
2018-03-16 05:25:15 -07:00
|
|
|
sha256 = "0hpiawf0dq8phsvihlcx9bpl70n7s3rhcgbgma36bark6sgr4y8y";
|
2016-08-09 16:08:01 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = with pythonPackages; [ setuptoolsTrial mock ];
|
|
|
|
propagatedBuildInputs = with pythonPackages; [ twisted future ];
|
|
|
|
|
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
|
|
|
'';
|
|
|
|
|
2016-08-09 16:08:01 -07:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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
|
|
|
};
|
|
|
|
})
|