Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 754 B view raw
1{ lib, buildPythonPackage, fetchPypi, buildbot, setuptoolsTrial, mock, twisted, 2 future, coreutils }: 3 4buildPythonPackage (rec { 5 pname = "buildbot-worker"; 6 inherit (buildbot) version; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "0p1w6ailp6xpa6ckl5prj413ilxx5s3lga5mzqxj9nn00vni8ik2"; 11 }; 12 13 propagatedBuildInputs = [ twisted future ]; 14 15 checkInputs = [ setuptoolsTrial mock ]; 16 17 postPatch = '' 18 substituteInPlace buildbot_worker/scripts/logwatcher.py \ 19 --replace /usr/bin/tail "${coreutils}/bin/tail" 20 ''; 21 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 }; 28})