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

33 lines
824 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, buildbot, setuptoolsTrial, mock, twisted,
future, coreutils, 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;
2021-05-14 01:04:15 +00:00
sha256 = "0q16vgvlhiybq5rhva9kcj5v2mhfpdb5czm2vng4rrfqqiqq918m";
};
2017-12-17 04:06:43 +00:00
propagatedBuildInputs = [ twisted future ];
checkInputs = [ setuptoolsTrial mock ];
postPatch = ''
2019-06-23 00:39:14 +00:00
substituteInPlace buildbot_worker/scripts/logwatcher.py \
--replace /usr/bin/tail "${coreutils}/bin/tail"
'';
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;
};
})