nixpkgs/pkgs/development/python-modules/buildbot/worker.nix

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

67 lines
1.0 KiB
Nix
Raw Normal View History

2022-03-30 23:05:05 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, buildbot
# patch
, coreutils
# propagates
, autobahn
, future
, msgpack
, twisted
# tests
, mock
, parameterized
, psutil
, setuptoolsTrial
# passthru
, nixosTests
}:
2017-12-17 04:06:43 +00:00
buildPythonPackage (rec {
pname = "buildbot-worker";
inherit (buildbot) version;
2017-12-17 04:06:43 +00:00
src = fetchPypi {
inherit pname version;
2022-03-30 23:05:05 +00:00
sha256 = "sha256-HZH3TdH5dhr3f6ev25O3SgPPNbiFGMmAp9DHwcb/2MA=";
};
postPatch = ''
2019-06-23 00:39:14 +00:00
substituteInPlace buildbot_worker/scripts/logwatcher.py \
--replace /usr/bin/tail "${coreutils}/bin/tail"
'';
2022-03-30 23:05:05 +00:00
nativeBuildInputs = [
setuptoolsTrial
];
propagatedBuildInputs = [
autobahn
future
msgpack
twisted
];
checkInputs = [
mock
parameterized
psutil
];
passthru.tests = {
smoke-test = nixosTests.buildbot;
};
2017-12-17 04:06:43 +00:00
meta = with lib; {
2019-10-27 01:27:30 +00:00
homepage = "https://buildbot.net/";
description = "Buildbot Worker Daemon";
maintainers = with maintainers; [ ryansydnor lopsided98 ];
license = licenses.gpl2;
};
})