Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

62 lines
935 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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;
};
}