1{ lib, buildPythonPackage, fetchPypi, python, setuptoolsTrial, mock, twisted, future }:
2
3buildPythonPackage (rec {
4 pname = "buildbot-worker";
5 version = "1.8.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "1rh73jbyms4b9wgkkdzcn80xfd18p8rn89rw4rsi2002ydrc7n39";
10 };
11
12 propagatedBuildInputs = [ twisted future ];
13
14 checkInputs = [ setuptoolsTrial mock ];
15
16 postPatch = ''
17 substituteInPlace buildbot_worker/scripts/logwatcher.py --replace '/usr/bin/tail' "$(type -P tail)"
18 '';
19
20 meta = with lib; {
21 homepage = http://buildbot.net/;
22 description = "Buildbot Worker Daemon";
23 maintainers = with maintainers; [ nand0p ryansydnor ];
24 license = licenses.gpl2;
25 };
26})