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

27 lines
704 B
Nix
Raw Normal View History

2017-12-17 04:06:43 +00:00
{ lib, buildPythonPackage, fetchPypi, python, setuptoolsTrial, mock, twisted, future }:
2017-12-17 04:06:43 +00:00
buildPythonPackage (rec {
pname = "buildbot-worker";
2019-05-19 23:22:14 +00:00
version = "2.3.0";
2017-12-17 04:06:43 +00:00
src = fetchPypi {
inherit pname version;
2019-05-19 23:22:14 +00:00
sha256 = "0nldf4ws1nrkhbapxiy2s8j9fjfbkhp17c5912p6qy3ximfcfa93";
};
2017-12-17 04:06:43 +00:00
propagatedBuildInputs = [ twisted future ];
checkInputs = [ setuptoolsTrial mock ];
postPatch = ''
substituteInPlace buildbot_worker/scripts/logwatcher.py --replace '/usr/bin/tail' "$(type -P tail)"
'';
2017-12-17 04:06:43 +00:00
meta = with lib; {
homepage = http://buildbot.net/;
description = "Buildbot Worker Daemon";
maintainers = with maintainers; [ nand0p ryansydnor ];
license = licenses.gpl2;
};
})