Files
nixpkgs/pkgs/development/tools/continuous-integration/buildbot/worker.nix
Wolfgang Walther 91a8fee3aa treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02:00

62 lines
935 B
Nix

{
lib,
buildPythonPackage,
buildbot,
stdenv,
# patch
coreutils,
# propagates
autobahn,
msgpack,
twisted,
# tests
parameterized,
psutil,
setuptools-trial,
# passthru
nixosTests,
}:
buildPythonPackage {
pname = "buildbot_worker";
inherit (buildbot) src version;
format = "setuptools";
postPatch = ''
cd worker
touch buildbot_worker/py.typed
substituteInPlace buildbot_worker/scripts/logwatcher.py \
--replace /usr/bin/tail "${coreutils}/bin/tail"
'';
nativeBuildInputs = [
setuptools-trial
];
propagatedBuildInputs = [
autobahn
msgpack
twisted
];
nativeCheckInputs = [
parameterized
psutil
];
passthru.tests = {
smoke-test = nixosTests.buildbot;
};
meta = with lib; {
homepage = "https://buildbot.net/";
description = "Buildbot Worker Daemon";
teams = [ teams.buildbot ];
license = licenses.gpl2;
};
}