depot/third_party/nixpkgs/pkgs/development/tools/continuous-integration/buildbot/plugins.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

258 lines
7 KiB
Nix

{ lib, buildPythonPackage, fetchurl, callPackage, mock, cairosvg, klein, jinja2, buildbot-pkg }:
{
# this is exposed for potential plugins to use and for nix-update
inherit buildbot-pkg;
www = buildPythonPackage rec {
pname = "buildbot_www";
inherit (buildbot-pkg) version;
src = fetchurl {
url = "https://github.com/buildbot/buildbot/releases/download/v${version}/${pname}-${version}.tar.gz";
hash = "sha256-wBwJXDR52jDRd+8efIjQ+ncWe708k1F21MuvBwhjEwc=";
};
# Remove unnecessary circular dependency on buildbot
postPatch = ''
sed -i "s/'buildbot'//" setup.py
'';
buildInputs = [ buildbot-pkg mock ];
# No tests
doCheck = false;
meta = with lib; {
homepage = "https://buildbot.net/";
description = "Buildbot UI";
maintainers = teams.buildbot.members;
license = licenses.gpl2;
};
};
www-react = buildPythonPackage rec {
pname = "buildbot_www_react";
inherit (buildbot-pkg) version;
src = fetchurl {
url = "https://github.com/buildbot/buildbot/releases/download/v${version}/${pname}-${version}.tar.gz";
hash = "sha256-JJK1vmTdOImKIM1glrTjo2E0KnotU2QJVc2OIzVQQ1Y=";
};
# Remove unnecessary circular dependency on buildbot
postPatch = ''
sed -i "s/'buildbot'//" setup.py
'';
buildInputs = [ buildbot-pkg ];
# No tests
doCheck = false;
meta = with lib; {
homepage = "https://buildbot.net/";
description = "Buildbot UI (React)";
maintainers = teams.buildbot.members;
license = licenses.gpl2Only;
};
};
console-view = buildPythonPackage rec {
pname = "buildbot_console_view";
inherit (buildbot-pkg) version;
src = fetchurl {
url = "https://github.com/buildbot/buildbot/releases/download/v${version}/${pname}-${version}.tar.gz";
hash = "sha256-kzj4IPNn/cUW7nidOLyO7AD98uXxWcqvMxaOhXhFn74=";
};
buildInputs = [ buildbot-pkg ];
# No tests
doCheck = false;
meta = with lib; {
homepage = "https://buildbot.net/";
description = "Buildbot Console View Plugin";
maintainers = teams.buildbot.members;
license = licenses.gpl2;
};
};
react-console-view = buildPythonPackage rec {
pname = "buildbot_react_console_view";
inherit (buildbot-pkg) version;
src = fetchurl {
url = "https://github.com/buildbot/buildbot/releases/download/v${version}/${pname}-${version}.tar.gz";
hash = "sha256-4quLblPknI/vrCNF7Frl5+UlY50vuspW0XmMJubvVXI=";
};
buildInputs = [ buildbot-pkg ];
# tests fail
doCheck = false;
meta = with lib; {
homepage = "https://buildbot.net/";
description = "Buildbot Console View Plugin (React)";
maintainers = teams.buildbot.members;
license = licenses.gpl2;
};
};
waterfall-view = buildPythonPackage rec {
pname = "buildbot_waterfall_view";
inherit (buildbot-pkg) version;
src = fetchurl {
url = "https://github.com/buildbot/buildbot/releases/download/v${version}/${pname}-${version}.tar.gz";
hash = "sha256-VC84rftiA7/x0X3lJfHTrEZve/ZDncVDuq6fisEI8nc=";
};
buildInputs = [ buildbot-pkg ];
# No tests
doCheck = false;
meta = with lib; {
homepage = "https://buildbot.net/";
description = "Buildbot Waterfall View Plugin";
maintainers = teams.buildbot.members;
license = licenses.gpl2;
};
};
react-waterfall-view = buildPythonPackage rec {
pname = "buildbot_react_waterfall_view";
inherit (buildbot-pkg) version;
src = fetchurl {
url = "https://github.com/buildbot/buildbot/releases/download/v${version}/${pname}-${version}.tar.gz";
hash = "sha256-2HZBnVvxPhU6rLmG6l9hX51zm8pvA5amsjExGx65+OQ=";
};
buildInputs = [ buildbot-pkg ];
# tests fail
doCheck = false;
meta = with lib; {
homepage = "https://buildbot.net/";
description = "Buildbot Waterfall View Plugin (React)";
maintainers = teams.buildbot.members;
license = licenses.gpl2;
};
};
grid-view = buildPythonPackage rec {
pname = "buildbot_grid_view";
inherit (buildbot-pkg) version;
src = fetchurl {
url = "https://github.com/buildbot/buildbot/releases/download/v${version}/${pname}-${version}.tar.gz";
hash = "sha256-IwTANqPNGon4lvT2ASpguEf8GcD1hz/7flNBml0NTdc=";
};
buildInputs = [ buildbot-pkg ];
# No tests
doCheck = false;
meta = with lib; {
homepage = "https://buildbot.net/";
description = "Buildbot Grid View Plugin";
maintainers = teams.buildbot.members;
license = licenses.gpl2;
};
};
react-grid-view = buildPythonPackage rec {
pname = "buildbot_react_grid_view";
inherit (buildbot-pkg) version;
src = fetchurl {
url = "https://github.com/buildbot/buildbot/releases/download/v${version}/${pname}-${version}.tar.gz";
hash = "sha256-SQiaIcupEtNePr4LUzwYm3RRKT9xa7RnHUaiE8EaRzQ=";
};
buildInputs = [ buildbot-pkg ];
# tests fail
doCheck = false;
meta = with lib; {
homepage = "https://buildbot.net/";
description = "Buildbot Grid View Plugin (React)";
maintainers = teams.buildbot.members;
license = licenses.gpl2;
};
};
wsgi-dashboards = buildPythonPackage rec {
pname = "buildbot_wsgi_dashboards";
inherit (buildbot-pkg) version;
src = fetchurl {
url = "https://github.com/buildbot/buildbot/releases/download/v${version}/${pname}-${version}.tar.gz";
hash = "sha256-dzK4WvBRxWoAfhsdKoYUnsG97OKmM8Jgr4Uv7NPpiVk=";
};
buildInputs = [ buildbot-pkg ];
# No tests
doCheck = false;
meta = with lib; {
homepage = "https://buildbot.net/";
description = "Buildbot WSGI dashboards Plugin";
maintainers = teams.buildbot.members;
license = licenses.gpl2;
};
};
react-wsgi-dashboards = buildPythonPackage rec {
pname = "buildbot_react_wsgi_dashboards";
inherit (buildbot-pkg) version;
src = fetchurl {
url = "https://github.com/buildbot/buildbot/releases/download/v${version}/${pname}-${version}.tar.gz";
hash = "sha256-vytU7WRdXWHazc/LYZSWlslkOb3lnTitEW3UZQ/VmTU=";
};
buildInputs = [ buildbot-pkg ];
# tests fail
doCheck = false;
meta = with lib; {
homepage = "https://buildbot.net/";
description = "Buildbot WSGI dashboards Plugin (React)";
maintainers = teams.buildbot.members;
license = licenses.gpl2;
};
};
badges = buildPythonPackage rec {
pname = "buildbot_badges";
inherit (buildbot-pkg) version;
src = fetchurl {
url = "https://github.com/buildbot/buildbot/releases/download/v${version}/${pname}-${version}.tar.gz";
hash = "sha256-O71qB9uIigYcK/t2t+481oktHjF5up1nk1dS4eEMb3A=";
};
buildInputs = [ buildbot-pkg ];
propagatedBuildInputs = [ cairosvg klein jinja2 ];
# No tests
doCheck = false;
meta = with lib; {
homepage = "https://buildbot.net/";
description = "Buildbot Badges Plugin";
maintainers = teams.buildbot.members ++ [ maintainers.julienmalka ];
license = licenses.gpl2;
};
};
}