at 25.11-pre 60 lines 912 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 buildbot, 5 stdenv, 6 7 # patch 8 coreutils, 9 10 # propagates 11 autobahn, 12 msgpack, 13 twisted, 14 15 # tests 16 parameterized, 17 psutil, 18 setuptools-trial, 19 20 # passthru 21 nixosTests, 22}: 23 24buildPythonPackage ({ 25 pname = "buildbot_worker"; 26 inherit (buildbot) src version; 27 28 postPatch = '' 29 cd worker 30 touch buildbot_worker/py.typed 31 substituteInPlace buildbot_worker/scripts/logwatcher.py \ 32 --replace /usr/bin/tail "${coreutils}/bin/tail" 33 ''; 34 35 nativeBuildInputs = [ 36 setuptools-trial 37 ]; 38 39 propagatedBuildInputs = [ 40 autobahn 41 msgpack 42 twisted 43 ]; 44 45 nativeCheckInputs = [ 46 parameterized 47 psutil 48 ]; 49 50 passthru.tests = { 51 smoke-test = nixosTests.buildbot; 52 }; 53 54 meta = with lib; { 55 homepage = "https://buildbot.net/"; 56 description = "Buildbot Worker Daemon"; 57 teams = [ teams.buildbot ]; 58 license = licenses.gpl2; 59 }; 60})