2017-01-30 18:44:14 +01:00
|
|
|
{ stdenv, fetchurl, gnused, coreutils, 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";
|
2017-02-27 20:02:11 +01:00
|
|
|
version = "0.9.4";
|
2016-08-10 01:08:01 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-09-16 01:16:23 +02:00
|
|
|
url = "mirror://pypi/b/${pname}/${name}.tar.gz";
|
2017-02-27 20:02:11 +01:00
|
|
|
sha256 = "0rdrr8x7sn2nxl51p6h9ad42s3c28lb6sys84zrg0d7fm4zhv7hj";
|
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 = ''
|
|
|
|
${gnused}/bin/sed -i 's|/usr/bin/tail|${coreutils}/bin/tail|' buildbot_worker/scripts/logwatcher.py
|
|
|
|
'';
|
|
|
|
|
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
|
|
|
};
|
|
|
|
})
|