Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 28 lines 735 B view raw
1{ lib, buildPythonPackage, fetchPypi, setuptoolsTrial, mock, twisted, future, 2 coreutils }: 3 4buildPythonPackage (rec { 5 pname = "buildbot-worker"; 6 version = "2.7.0"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "1vwy46acvczgk1hhpsqdwpcw55j4hm5pkw6j01f92axiga8r5jk6"; 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})