2023-10-09 19:29:22 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, fetchurl, callPackage, mock, cairosvg, klein, jinja2, buildbot-pkg, unzip, zip }:
|
2020-04-24 23:36:52 +00:00
|
|
|
{
|
2023-05-24 13:37:59 +00:00
|
|
|
# this is exposed for potential plugins to use and for nix-update
|
|
|
|
inherit buildbot-pkg;
|
2020-04-24 23:36:52 +00:00
|
|
|
www = buildPythonPackage rec {
|
|
|
|
pname = "buildbot-www";
|
|
|
|
inherit (buildbot-pkg) version;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-fwWzgIf0/+UiKRyiFUKPN4WUbmxQE5sU/ChAOqqLHE4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-12-28 21:21:41 +00:00
|
|
|
# Remove unnecessary circular dependency on buildbot
|
2020-04-24 23:36:52 +00:00
|
|
|
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";
|
2021-05-20 23:08:51 +00:00
|
|
|
maintainers = with maintainers; [ ryansydnor lopsided98 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
www-react = buildPythonPackage rec {
|
|
|
|
pname = "buildbot-www-react";
|
|
|
|
inherit (buildbot-pkg) version;
|
|
|
|
format = "wheel";
|
|
|
|
|
|
|
|
# fetchpypy returns a 404 for the wheel?
|
|
|
|
# normal source release doesn't have any assets
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/buildbot/buildbot/releases/download/v${version}/buildbot_www_react-${version}-py3-none-any.whl";
|
|
|
|
hash = "sha256-pEzuMiDhGQtIWQm80lgKIcTjnS7Z8UJhH9plJup5O84=";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Remove unneccessary circular dependency on buildbot
|
|
|
|
postPatch = ''
|
|
|
|
pushd dist
|
|
|
|
unzip buildbot_www_react-${version}-py3-none-any.whl
|
|
|
|
sed -i "s/Requires-Dist: buildbot//" buildbot_www_react-${version}.dist-info/METADATA
|
|
|
|
chmod -R u+w buildbot_www_react-${version}-py3-none-any.whl
|
|
|
|
zip -r buildbot_www_react-${version}-py3-none-any.whl buildbot_www_react-${version}.dist-info
|
|
|
|
popd
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ buildbot-pkg ];
|
|
|
|
nativeBuildInputs = [ unzip zip ];
|
|
|
|
|
|
|
|
# No tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://buildbot.net/";
|
|
|
|
description = "Buildbot UI (React)";
|
|
|
|
maintainers = with maintainers; [ mic92 ];
|
|
|
|
license = licenses.gpl2Only;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
console-view = buildPythonPackage rec {
|
|
|
|
pname = "buildbot-console-view";
|
|
|
|
inherit (buildbot-pkg) version;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-ghCmbUw/Gj23J5X3fDn/FGkVvXUE9QWrPFTRXSsxEZ4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ buildbot-pkg ];
|
|
|
|
|
|
|
|
# No tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://buildbot.net/";
|
|
|
|
description = "Buildbot Console View Plugin";
|
2021-05-20 23:08:51 +00:00
|
|
|
maintainers = with maintainers; [ ryansydnor lopsided98 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
waterfall-view = buildPythonPackage rec {
|
|
|
|
pname = "buildbot-waterfall-view";
|
|
|
|
inherit (buildbot-pkg) version;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-B+xUsZBQWt4TwiBqukHO6o0R0XbjLxbCxQKLaWW0/Fw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ buildbot-pkg ];
|
|
|
|
|
|
|
|
# No tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://buildbot.net/";
|
|
|
|
description = "Buildbot Waterfall View Plugin";
|
2021-05-20 23:08:51 +00:00
|
|
|
maintainers = with maintainers; [ ryansydnor lopsided98 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
grid-view = buildPythonPackage rec {
|
|
|
|
pname = "buildbot-grid-view";
|
|
|
|
inherit (buildbot-pkg) version;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-LFZ3VquRHAHkRcQbw9apOlGlWCK42WT1tPGhW8zSXyo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ buildbot-pkg ];
|
|
|
|
|
|
|
|
# No tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://buildbot.net/";
|
|
|
|
description = "Buildbot Grid View Plugin";
|
2021-05-20 23:08:51 +00:00
|
|
|
maintainers = with maintainers; [ lopsided98 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
wsgi-dashboards = buildPythonPackage rec {
|
|
|
|
pname = "buildbot-wsgi-dashboards";
|
|
|
|
inherit (buildbot-pkg) version;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-NGI4T0eVV4MxYpD7+BTKbi3r6USt28lXXInrgSd4ASU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
2023-02-16 17:41:37 +00:00
|
|
|
|
|
|
|
badges = buildPythonPackage rec {
|
|
|
|
pname = "buildbot-badges";
|
|
|
|
inherit (buildbot-pkg) version;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-BtKA8zuJEyg3q3GnHS4XSGBLBk3IqCR8NOKui2rIn6Q=";
|
2023-02-16 17:41:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|