1{ lib, buildPythonPackage, fetchPypi, callPackage, mock, cairosvg, klein, jinja2, buildbot-pkg }:
2{
3 # this is exposed for potential plugins to use and for nix-update
4 inherit buildbot-pkg;
5 www = buildPythonPackage rec {
6 pname = "buildbot-www";
7 inherit (buildbot-pkg) version;
8
9 src = fetchPypi {
10 inherit pname version;
11 hash = "sha256-6hLJADdd84LTpxVB8C+i8rea9/65QfcCPuZC/7+55Co=";
12 };
13
14 # Remove unnecessary circular dependency on buildbot
15 postPatch = ''
16 sed -i "s/'buildbot'//" setup.py
17 '';
18
19 buildInputs = [ buildbot-pkg mock ];
20
21 # No tests
22 doCheck = false;
23
24 meta = with lib; {
25 homepage = "https://buildbot.net/";
26 description = "Buildbot UI";
27 maintainers = with maintainers; [ ryansydnor lopsided98 ];
28 license = licenses.gpl2;
29 };
30 };
31
32 console-view = buildPythonPackage rec {
33 pname = "buildbot-console-view";
34 inherit (buildbot-pkg) version;
35
36 src = fetchPypi {
37 inherit pname version;
38 hash = "sha256-JA+3WnZAN4224LbrluHJcnTmQ8VnuAmoEqqLtw0H10M=";
39 };
40
41 buildInputs = [ buildbot-pkg ];
42
43 # No tests
44 doCheck = false;
45
46 meta = with lib; {
47 homepage = "https://buildbot.net/";
48 description = "Buildbot Console View Plugin";
49 maintainers = with maintainers; [ ryansydnor lopsided98 ];
50 license = licenses.gpl2;
51 };
52 };
53
54 waterfall-view = buildPythonPackage rec {
55 pname = "buildbot-waterfall-view";
56 inherit (buildbot-pkg) version;
57
58 src = fetchPypi {
59 inherit pname version;
60 hash = "sha256-NwLb9aQQwOxo9AqvsYbl/g8mNUeufdPrCwFMJNzdfQM=";
61 };
62
63 buildInputs = [ buildbot-pkg ];
64
65 # No tests
66 doCheck = false;
67
68 meta = with lib; {
69 homepage = "https://buildbot.net/";
70 description = "Buildbot Waterfall View Plugin";
71 maintainers = with maintainers; [ ryansydnor lopsided98 ];
72 license = licenses.gpl2;
73 };
74 };
75
76 grid-view = buildPythonPackage rec {
77 pname = "buildbot-grid-view";
78 inherit (buildbot-pkg) version;
79
80 src = fetchPypi {
81 inherit pname version;
82 hash = "sha256-hIBH8+RvZ53Txxl2FyrCs+ZFzRAAbK2th5Im2gZCs3c=";
83 };
84
85 buildInputs = [ buildbot-pkg ];
86
87 # No tests
88 doCheck = false;
89
90 meta = with lib; {
91 homepage = "https://buildbot.net/";
92 description = "Buildbot Grid View Plugin";
93 maintainers = with maintainers; [ lopsided98 ];
94 license = licenses.gpl2;
95 };
96 };
97
98 wsgi-dashboards = buildPythonPackage rec {
99 pname = "buildbot-wsgi-dashboards";
100 inherit (buildbot-pkg) version;
101
102 src = fetchPypi {
103 inherit pname version;
104 hash = "sha256-iK9MwE5Nzc0tHMui0LquCqTFIPbRTEYeHam+5hiOQJE=";
105 };
106
107 buildInputs = [ buildbot-pkg ];
108
109 # No tests
110 doCheck = false;
111
112 meta = with lib; {
113 homepage = "https://buildbot.net/";
114 description = "Buildbot WSGI dashboards Plugin";
115 maintainers = with maintainers; [ lopsided98 ];
116 license = licenses.gpl2;
117 };
118 };
119
120 badges = buildPythonPackage rec {
121 pname = "buildbot-badges";
122 inherit (buildbot-pkg) version;
123
124 src = fetchPypi {
125 inherit pname version;
126 hash = "sha256-HtVleYQE+pfwso7oBNucRjHEkwjgQSZJ6Ts1x7ncLsA=";
127 };
128
129 buildInputs = [ buildbot-pkg ];
130 propagatedBuildInputs = [ cairosvg klein jinja2 ];
131
132 # No tests
133 doCheck = false;
134
135 meta = with lib; {
136 homepage = "https://buildbot.net/";
137 description = "Buildbot Badges Plugin";
138 maintainers = with maintainers; [ julienmalka ];
139 license = licenses.gpl2;
140 };
141 };
142
143}