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

29 lines
735 B
Nix
Raw Normal View History

2019-06-23 00:39:14 +00:00
{ lib, buildPythonPackage, fetchPypi, setuptoolsTrial, mock, twisted, future,
coreutils }:
2017-12-17 04:06:43 +00:00
buildPythonPackage (rec {
pname = "buildbot-worker";
2020-06-06 22:31:19 +00:00
version = "2.8.1";
2017-12-17 04:06:43 +00:00
src = fetchPypi {
inherit pname version;
2020-06-06 22:31:19 +00:00
sha256 = "1cba1zmm3gfw3ikax7q4vbrxnvjxlby79x5lc4fg9c3igbm0nmwj";
};
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"
'';
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";
2019-08-18 17:20:18 +00:00
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
license = licenses.gpl2;
};
})