buildbot: init at 0.9.0rc2

buildbot: init
buildbot-0.9.0rc2

buildbot-worker: init
buildbot-worker-0.9.0rc2

buildbot-ui: init
buildbot-www-0.9.0rc2

buildbot-full: init
buildbot-www-0.9.0rc1
buildbot-waterfall-view-0.9.0rc2
buildbot-console-view-0.9.0rc2

authored by Fernando J Pando and committed by Frederik Rietdijk d86114cb 7cf000b7

+206
+81
pkgs/development/tools/build-managers/buildbot/9.nix
··· 1 + { stdenv 2 + , pythonPackages 3 + , fetchurl 4 + , plugins ? [] 5 + }: 6 + 7 + pythonPackages.buildPythonApplication (rec { 8 + name = "${pname}-${version}"; 9 + pname = "buildbot"; 10 + version = "0.9.0rc2"; 11 + src = fetchurl { 12 + url = "mirror://pypi/b/${pname}/${name}.tar.gz"; 13 + sha256 = "06xzbjzji3by4hldwr850fc989ymsfl2s8nil21klv2g00dgmcmk"; 14 + }; 15 + 16 + buildInputs = with pythonPackages; [ 17 + lz4 18 + txrequests 19 + pyjade 20 + boto3 21 + moto 22 + txgithub 23 + mock 24 + setuptoolsTrial 25 + isort 26 + pylint 27 + astroid 28 + pyflakes 29 + ]; 30 + 31 + propagatedBuildInputs = with pythonPackages; [ 32 + 33 + # core 34 + twisted 35 + jinja2 36 + zope_interface 37 + future 38 + sqlalchemy 39 + sqlalchemy_migrate 40 + future 41 + dateutil 42 + txaio 43 + autobahn 44 + 45 + # tls 46 + pyopenssl 47 + service-identity 48 + idna 49 + 50 + # docs 51 + sphinx 52 + sphinxcontrib-blockdiag 53 + sphinxcontrib-spelling 54 + pyenchant 55 + docutils 56 + ramlfications 57 + sphinx-jinja 58 + 59 + ] ++ plugins; 60 + 61 + preInstall = '' 62 + # buildbot tries to import 'buildslaves' but does not 63 + # include the module in it's package, so get rid of those references 64 + sed -i.bak -e '66,$d' buildbot/test/__init__.py 65 + sed -i.bak -e '506,$d' buildbot/test/unit/test_worker_base.py 66 + sed -i.bak -e '648,$d' buildbot/test/unit/test_worker_ec2.py 67 + sed -i.bak -e '289,$d' buildbot/test/unit/test_worker_libvirt.py 68 + sed -i.bak -e '190,$d' buildbot/test/unit/test_worker_openstack.py 69 + sed -i.bak -e '60,84d' buildbot/test/integration/test_configs.py 70 + 71 + # writes out a file that can't be read properly 72 + sed -i.bak -e '69,84d' buildbot/test/unit/test_www_config.py 73 + ''; 74 + 75 + meta = with stdenv.lib; { 76 + homepage = http://buildbot.net/; 77 + description = "Continuous integration system that automates the build/test cycle"; 78 + maintainers = with maintainers; [ nand0p ryansydnor ]; 79 + platforms = platforms.all; 80 + }; 81 + })
+91
pkgs/development/tools/build-managers/buildbot/plugins.nix
··· 1 + { stdenv 2 + , fetchurl 3 + , pythonPackages 4 + }: 5 + 6 + let 7 + buildbot-pkg = pythonPackages.buildPythonPackage rec { 8 + name = "buildbot-pkg-${version}"; 9 + version = "0.9.0rc2"; 10 + 11 + src = fetchurl { 12 + url = "https://pypi.python.org/packages/95/47/1fef931d410cc24127564c2e193e7c1c184f5c5f481930f77c6d6840cfab/${name}.tar.gz"; 13 + sha256 = "01wc9bmqq1rfayqnjm7rkjhbcj7h6ah4vv10s6hglnq9s4axvxp6"; 14 + }; 15 + 16 + propagatedBuildInputs = with pythonPackages; [ setuptools ]; 17 + 18 + # doesn't seem to break without this... 19 + patchPhase = '' 20 + sed -i.bak -e '/"setuptools >= 21.2.1",/d' setup.py 21 + ''; 22 + 23 + meta = with stdenv.lib; { 24 + homepage = http://buildbot.net/; 25 + description = "Buildbot Packaging Helper"; 26 + maintainers = with maintainers; [ nand0p ryansydnor ]; 27 + platforms = platforms.all; 28 + }; 29 + }; 30 + 31 + in { 32 + 33 + www = pythonPackages.buildPythonPackage rec { 34 + name = "buildbot_www-${version}"; 35 + version = "0.9.0rc2"; 36 + 37 + # NOTE: wheel is used due to buildbot circular dependency 38 + format = "wheel"; 39 + src = fetchurl { 40 + url = "https://pypi.python.org/packages/e0/d7/f1023cdb7340a15ee1fc9916e87c4d634405a87164a051e2c59bf9d51ef1/${name}-py2-none-any.whl"; 41 + sha256 = "1006x56x4w4p2mbrzm7jy51c0xxz48lzhdwvx7j4hrjs07mapndj"; 42 + }; 43 + 44 + propagatedBuildInputs = [ buildbot-pkg ]; 45 + 46 + meta = with stdenv.lib; { 47 + homepage = http://buildbot.net/; 48 + description = "Buildbot UI"; 49 + maintainers = with maintainers; [ nand0p ryansydnor ]; 50 + platforms = platforms.all; 51 + }; 52 + }; 53 + 54 + console-view = pythonPackages.buildPythonPackage rec { 55 + name = "buildbot-console-view-${version}"; 56 + version = "0.9.0rc2"; 57 + 58 + src = fetchurl { 59 + url = "https://pypi.python.org/packages/f4/51/e24cc1b596e5b262a272cba3687476a13ec7d9ea24bf1f4fd0cd72902bb6/${name}.tar.gz"; 60 + sha256 = "0970gq1sxnfd0nlrnd3mj25i3cginlw2pj5ffqsd57n5hlqg48ib"; 61 + }; 62 + 63 + propagatedBuildInputs = [ buildbot-pkg ]; 64 + 65 + meta = with stdenv.lib; { 66 + homepage = http://buildbot.net/; 67 + description = "Buildbot Console View Plugin"; 68 + maintainers = with maintainers; [ nand0p ryansydnor ]; 69 + platforms = platforms.all; 70 + }; 71 + }; 72 + 73 + waterfall-view = pythonPackages.buildPythonPackage rec { 74 + name = "buildbot-waterfall-view-${version}"; 75 + version = "0.9.0rc2"; 76 + 77 + src = fetchurl { 78 + url = "https://pypi.python.org/packages/c2/21/3895355b05f91977a8b8e5435f85354e927c2ef547a25432a6bacf792a67/${name}.tar.gz"; 79 + sha256 = "1zybrbbsyplv93zkin8cb3z1bqqr6px4p203ldcpn7lds5s9vk00"; 80 + }; 81 + 82 + propagatedBuildInputs = [ buildbot-pkg ]; 83 + 84 + meta = with stdenv.lib; { 85 + homepage = http://buildbot.net/; 86 + description = "Buildbot Waterfall View Plugin"; 87 + maintainers = with maintainers; [ nand0p ryansydnor ]; 88 + platforms = platforms.all; 89 + }; 90 + }; 91 + }
+24
pkgs/development/tools/build-managers/buildbot/worker.nix
··· 1 + { stdenv 2 + , fetchurl 3 + , pythonPackages 4 + }: 5 + 6 + pythonPackages.buildPythonApplication (rec { 7 + name = "buildbot-worker-${version}"; 8 + version = "0.9.0rc2"; 9 + 10 + src = fetchurl { 11 + url = "https://pypi.python.org/packages/6a/be/ae80e5e87bc92ac813cd944c08d3b6168090145fc168e7a553e88c07067a/${name}.tar.gz"; 12 + sha256 = "19l28s2fyzln6nv2ypbdg11xiz7lrjy0n64fzhngfalv61x2bp8j"; 13 + }; 14 + 15 + buildInputs = with pythonPackages; [ setuptoolsTrial mock ]; 16 + propagatedBuildInputs = with pythonPackages; [ twisted future ]; 17 + 18 + meta = with stdenv.lib; { 19 + homepage = http://buildbot.net/; 20 + description = "Buildbot Worker Daemon"; 21 + maintainers = with maintainers; [ nand0p ryansydnor ]; 22 + platforms = platforms.all; 23 + }; 24 + })
+10
pkgs/top-level/all-packages.nix
··· 6181 6181 inherit (pythonPackages) twisted; 6182 6182 }; 6183 6183 6184 + buildbot = callPackage ../development/tools/build-managers/buildbot/9.nix { }; 6185 + buildbot-worker = callPackage ../development/tools/build-managers/buildbot/worker.nix { }; 6186 + buildbot-plugins = callPackage ../development/tools/build-managers/buildbot/plugins.nix { }; 6187 + buildbot-ui = self.buildbot.override { 6188 + plugins = with self.buildbot-plugins; [ www ]; 6189 + }; 6190 + buildbot-full = self.buildbot.override { 6191 + plugins = with self.buildbot-plugins; [ www console-view waterfall-view ]; 6192 + }; 6193 + 6184 6194 buildkite-agent = callPackage ../development/tools/continuous-integration/buildkite-agent { }; 6185 6195 6186 6196 byacc = callPackage ../development/tools/parsing/byacc { };