buildbot-www-react: init 3.9.2

+38 -1
+37 -1
pkgs/development/tools/continuous-integration/buildbot/plugins.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, callPackage, mock, cairosvg, klein, jinja2, buildbot-pkg }: 1 + { lib, buildPythonPackage, fetchPypi, fetchurl, callPackage, mock, cairosvg, klein, jinja2, buildbot-pkg, unzip, zip }: 2 2 { 3 3 # this is exposed for potential plugins to use and for nix-update 4 4 inherit buildbot-pkg; ··· 26 26 description = "Buildbot UI"; 27 27 maintainers = with maintainers; [ ryansydnor lopsided98 ]; 28 28 license = licenses.gpl2; 29 + }; 30 + }; 31 + 32 + www-react = buildPythonPackage rec { 33 + pname = "buildbot-www-react"; 34 + inherit (buildbot-pkg) version; 35 + format = "wheel"; 36 + 37 + # fetchpypy returns a 404 for the wheel? 38 + # normal source release doesn't have any assets 39 + src = fetchurl { 40 + url = "https://github.com/buildbot/buildbot/releases/download/v${version}/buildbot_www_react-${version}-py3-none-any.whl"; 41 + hash = "sha256-pEzuMiDhGQtIWQm80lgKIcTjnS7Z8UJhH9plJup5O84="; 42 + }; 43 + 44 + # Remove unneccessary circular dependency on buildbot 45 + postPatch = '' 46 + pushd dist 47 + unzip buildbot_www_react-${version}-py3-none-any.whl 48 + sed -i "s/Requires-Dist: buildbot//" buildbot_www_react-${version}.dist-info/METADATA 49 + chmod -R u+w buildbot_www_react-${version}-py3-none-any.whl 50 + zip -r buildbot_www_react-${version}-py3-none-any.whl buildbot_www_react-${version}.dist-info 51 + popd 52 + ''; 53 + 54 + buildInputs = [ buildbot-pkg ]; 55 + nativeBuildInputs = [ unzip zip ]; 56 + 57 + # No tests 58 + doCheck = false; 59 + 60 + meta = with lib; { 61 + homepage = "https://buildbot.net/"; 62 + description = "Buildbot UI (React)"; 63 + maintainers = with maintainers; [ mic92 ]; 64 + license = licenses.gpl2Only; 29 65 }; 30 66 }; 31 67
+1
pkgs/development/tools/continuous-integration/buildbot/update.sh
··· 6 6 nix-update --version=skip buildbot-worker 7 7 nix-update --version=skip buildbot-plugins.buildbot-pkg 8 8 nix-update --version=skip buildbot-plugins.www 9 + nix-update --version=skip buildbot-plugins.www-react 9 10 nix-update --version=skip buildbot-plugins.console-view 10 11 nix-update --version=skip buildbot-plugins.waterfall-view 11 12 nix-update --version=skip buildbot-plugins.grid-view