depot/third_party/nixpkgs/pkgs/development/tools/continuous-integration/buildbot/plugins.nix
Default email c7f94ff3ce Project import generated by Copybara.
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
2023-08-22 22:05:09 +02:00

143 lines
3.5 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-jdeVojfC421cxjXYFjlmIeEBuraqMnukAO1QZVPE2Oc=";
};
# 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 = with maintainers; [ ryansydnor lopsided98 ];
license = licenses.gpl2;
};
};
console-view = buildPythonPackage rec {
pname = "buildbot-console-view";
inherit (buildbot-pkg) version;
src = fetchPypi {
inherit pname version;
hash = "sha256-JFzdK/DkPxwoPRaEbULNw3O3NGEIlMGrDKTVICAxdkI=";
};
buildInputs = [ buildbot-pkg ];
# No tests
doCheck = false;
meta = with lib; {
homepage = "https://buildbot.net/";
description = "Buildbot Console View Plugin";
maintainers = with maintainers; [ ryansydnor lopsided98 ];
license = licenses.gpl2;
};
};
waterfall-view = buildPythonPackage rec {
pname = "buildbot-waterfall-view";
inherit (buildbot-pkg) version;
src = fetchPypi {
inherit pname version;
hash = "sha256-+PrGubM/EOw1QTUyYPy51PzuOVZ8rjCcZpeIUybm3q8=";
};
buildInputs = [ buildbot-pkg ];
# No tests
doCheck = false;
meta = with lib; {
homepage = "https://buildbot.net/";
description = "Buildbot Waterfall View Plugin";
maintainers = with maintainers; [ ryansydnor lopsided98 ];
license = licenses.gpl2;
};
};
grid-view = buildPythonPackage rec {
pname = "buildbot-grid-view";
inherit (buildbot-pkg) version;
src = fetchPypi {
inherit pname version;
hash = "sha256-k93slBfR0rTJ0hmXG3nAMU/ar9hjX9+BPXD87DajaTU=";
};
buildInputs = [ buildbot-pkg ];
# No tests
doCheck = false;
meta = with lib; {
homepage = "https://buildbot.net/";
description = "Buildbot Grid View Plugin";
maintainers = with maintainers; [ lopsided98 ];
license = licenses.gpl2;
};
};
wsgi-dashboards = buildPythonPackage rec {
pname = "buildbot-wsgi-dashboards";
inherit (buildbot-pkg) version;
src = fetchPypi {
inherit pname version;
hash = "sha256-oKIHLllzeyAm2BsVbZE68h53V1WQjWlYDLpd73FVOe0=";
};
buildInputs = [ buildbot-pkg ];
# No tests
doCheck = false;
meta = with lib; {
homepage = "https://buildbot.net/";
description = "Buildbot WSGI dashboards Plugin";
maintainers = with maintainers; [ lopsided98 ];
license = licenses.gpl2;
};
};
badges = buildPythonPackage rec {
pname = "buildbot-badges";
inherit (buildbot-pkg) version;
src = fetchPypi {
inherit pname version;
hash = "sha256-XPStbcijZJTmaR2mjyWSY1UCZmHpS7xF/vg/CsMR6+4=";
};
buildInputs = [ buildbot-pkg ];
propagatedBuildInputs = [ cairosvg klein jinja2 ];
# No tests
doCheck = false;
meta = with lib; {
homepage = "https://buildbot.net/";
description = "Buildbot Badges Plugin";
maintainers = with maintainers; [ julienmalka ];
license = licenses.gpl2;
};
};
}