depot/third_party/nixpkgs/pkgs/development/tools/continuous-integration/buildbot/plugins.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

258 lines
6.2 KiB
Nix

{ lib, buildPythonPackage, fetchPypi, 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 = fetchPypi {
inherit pname version;
hash = "sha256-5q4N76XHUhvc2lIqup0dYwrEdI5bR/96N7m2rhvPJh4=";
};
# 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 = fetchPypi {
inherit pname version;
hash = "sha256-kjow5WksdBzeo8nwXk5Djm/4tym8XvMo+VgiqSSAyKk=";
};
# 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 = fetchPypi {
inherit pname version;
hash = "sha256-IrXDwO0YSpiZfw6B/lorEQdbAIZ5qCja75L/PFRmJms=";
};
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 = fetchPypi {
inherit pname version;
hash = "sha256-ZkUsAN56OEI/SphQydv4HkVV6Eobd0pd+UbXa23mBfQ=";
};
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 = fetchPypi {
inherit pname version;
hash = "sha256-qL1+bpgxflcRTFPOvDHKdHilio28bbHClqy1Um4Se+o=";
};
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 = fetchPypi {
inherit pname version;
hash = "sha256-5D0N/5Sf8YNQBKt8GzAk1htdEY/xOmE5Abt5y7P9h34=";
};
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 = fetchPypi {
inherit pname version;
hash = "sha256-snyJbQZqSIqOk6dTJidSv1VmE/Gn+pblcZs8BpZ+fdA=";
};
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 = fetchPypi {
inherit pname version;
hash = "sha256-0Ggm3NQn1ZZfMsMqf1qdCD1+HkJZmM1p+TqOPF0Q9CE=";
};
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 = fetchPypi {
inherit pname version;
hash = "sha256-rBUrYSeAWrxn5mlXaAAtE58jIZVLs/q69ARY2u6rTsI=";
};
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 = fetchPypi {
inherit pname version;
hash = "sha256-U0DHWFMmvTKFBW1C5bnoemjMOKpw1H3GXnBn/AU52vY=";
};
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 = fetchPypi {
inherit pname version;
hash = "sha256-7t4E7twn4TeJJCE5Vn83UzIRE2Okvcox2us1d8j50Os=";
};
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;
};
};
}