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

29 lines
721 B
Nix
Raw Normal View History

2019-06-22 17:39:14 -07:00
{ lib, buildPythonPackage, fetchPypi, setuptoolsTrial, mock, twisted, future,
coreutils }:
2017-12-16 20:06:43 -08:00
buildPythonPackage (rec {
pname = "buildbot-worker";
2019-08-18 10:09:09 -07:00
version = "2.4.0";
2017-12-16 20:06:43 -08:00
src = fetchPypi {
inherit pname version;
2019-08-18 10:09:09 -07:00
sha256 = "04dk1jg0yq0rcm7j7pn7l1pqqjhiyvwppnhc1b7106sx2cdj2yb2";
};
2017-12-16 20:06:43 -08:00
propagatedBuildInputs = [ twisted future ];
checkInputs = [ setuptoolsTrial mock ];
postPatch = ''
2019-06-22 17:39:14 -07:00
substituteInPlace buildbot_worker/scripts/logwatcher.py \
--replace /usr/bin/tail "${coreutils}/bin/tail"
'';
2017-12-16 20:06:43 -08:00
meta = with lib; {
homepage = http://buildbot.net/;
description = "Buildbot Worker Daemon";
maintainers = with maintainers; [ nand0p ryansydnor ];
license = licenses.gpl2;
};
})