Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / buildbot / worker.nix
blob242849e2c79ec1943abd74ffee6f7fca5fa20c3e
1 { lib, buildPythonPackage, fetchPypi, buildbot, setuptoolsTrial, mock, twisted,
2   future, coreutils }:
4 buildPythonPackage (rec {
5   pname = "buildbot-worker";
6   inherit (buildbot) version;
8   src = fetchPypi {
9     inherit pname version;
10     sha256 = "0n5p9x9gz276nv1m8vn3d74jfbd35gff332cjxxqvabk06iqcjp6";
11   };
13   propagatedBuildInputs = [ twisted future ];
15   checkInputs = [ setuptoolsTrial mock ];
17   postPatch = ''
18     substituteInPlace buildbot_worker/scripts/logwatcher.py \
19       --replace /usr/bin/tail "${coreutils}/bin/tail"
20   '';
22   meta = with lib; {
23     homepage = "https://buildbot.net/";
24     description = "Buildbot Worker Daemon";
25     maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
26     license = licenses.gpl2;
27   };