buildbot: add Python 3 support

This commit is contained in:
Ben Wolsieffer
2017-12-16 23:06:43 -05:00
parent 71c42462ab
commit 73c523a605
13 changed files with 331 additions and 229 deletions

View File

@@ -0,0 +1,26 @@
{ lib, buildPythonPackage, fetchPypi, python, setuptoolsTrial, mock, twisted, future }:
buildPythonPackage (rec {
pname = "buildbot-worker";
version = "1.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "12zvf4c39b6s4g1f2w407q8kkw602m88rc1ggi4w9pkw3bwbxrgy";
};
propagatedBuildInputs = [ twisted future ];
checkInputs = [ setuptoolsTrial mock ];
postPatch = ''
substituteInPlace buildbot_worker/scripts/logwatcher.py --replace '/usr/bin/tail' "$(type -P tail)"
'';
meta = with lib; {
homepage = http://buildbot.net/;
description = "Buildbot Worker Daemon";
maintainers = with maintainers; [ nand0p ryansydnor ];
license = licenses.gpl2;
};
})