2017-01-30 17:44:14 +00:00
|
|
|
{ stdenv, lib, fetchurl, coreutils, openssh, buildbot-worker, makeWrapper,
|
|
|
|
pythonPackages, gnused, plugins ? [] }:
|
2016-08-10 00:08:01 +01:00
|
|
|
|
|
|
|
pythonPackages.buildPythonApplication (rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "buildbot";
|
2017-02-27 19:02:11 +00:00
|
|
|
version = "0.9.4";
|
2016-08-10 00:08:01 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/b/${pname}/${name}.tar.gz";
|
2017-02-27 19:02:11 +00:00
|
|
|
sha256 = "0wklrn4fszac9wi8zw3vbsznwyff6y57cz0i81zvh46skb6n3086";
|
2016-08-10 00:08:01 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = with pythonPackages; [
|
|
|
|
lz4
|
|
|
|
txrequests
|
|
|
|
pyjade
|
|
|
|
boto3
|
|
|
|
moto
|
|
|
|
txgithub
|
|
|
|
mock
|
|
|
|
setuptoolsTrial
|
|
|
|
isort
|
|
|
|
pylint
|
|
|
|
astroid
|
|
|
|
pyflakes
|
2017-01-30 17:44:14 +00:00
|
|
|
openssh
|
|
|
|
buildbot-worker
|
|
|
|
makeWrapper
|
|
|
|
treq
|
|
|
|
];
|
2016-08-10 00:08:01 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = with pythonPackages; [
|
|
|
|
|
|
|
|
# core
|
|
|
|
twisted
|
|
|
|
jinja2
|
|
|
|
zope_interface
|
|
|
|
sqlalchemy
|
|
|
|
sqlalchemy_migrate
|
|
|
|
future
|
|
|
|
dateutil
|
|
|
|
txaio
|
|
|
|
autobahn
|
2017-02-27 19:02:11 +00:00
|
|
|
pyjwt
|
2016-08-10 00:08:01 +01:00
|
|
|
|
|
|
|
# tls
|
|
|
|
pyopenssl
|
|
|
|
service-identity
|
|
|
|
idna
|
|
|
|
|
|
|
|
# docs
|
|
|
|
sphinx
|
|
|
|
sphinxcontrib-blockdiag
|
|
|
|
sphinxcontrib-spelling
|
|
|
|
pyenchant
|
|
|
|
docutils
|
|
|
|
ramlfications
|
|
|
|
sphinx-jinja
|
|
|
|
|
2017-01-30 17:44:14 +00:00
|
|
|
] ++ plugins;
|
2016-10-04 18:20:09 +01:00
|
|
|
|
2016-10-21 22:04:48 +01:00
|
|
|
postPatch = ''
|
2017-01-30 17:44:14 +00:00
|
|
|
${gnused}/bin/sed -i 's|/usr/bin/tail|${coreutils}/bin/tail|' buildbot/scripts/logwatcher.py
|
2016-08-10 00:08:01 +01:00
|
|
|
'';
|
|
|
|
|
2016-09-16 21:27:45 +01:00
|
|
|
postFixup = ''
|
2017-01-30 17:44:14 +00:00
|
|
|
makeWrapper $out/bin/.buildbot-wrapped $out/bin/buildbot --set PYTHONPATH "$PYTHONPATH"
|
2016-09-16 21:27:45 +01:00
|
|
|
'';
|
|
|
|
|
2016-08-10 00:08:01 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://buildbot.net/;
|
|
|
|
description = "Continuous integration system that automates the build/test cycle";
|
|
|
|
maintainers = with maintainers; [ nand0p ryansydnor ];
|
2016-10-04 18:20:09 +01:00
|
|
|
license = licenses.gpl2;
|
2016-08-10 00:08:01 +01:00
|
|
|
};
|
|
|
|
})
|