|
1 | | -{ lib, buildPythonPackage, fetchPypi, callPackage, mock, cairosvg, klein, jinja2, buildbot-pkg }: |
| 1 | +{ lib, buildPythonPackage, fetchurl, callPackage, mock, cairosvg, klein, jinja2, buildbot-pkg }: |
2 | 2 | { |
3 | 3 | # this is exposed for potential plugins to use and for nix-update |
4 | 4 | inherit buildbot-pkg; |
5 | 5 | www = buildPythonPackage rec { |
6 | 6 | pname = "buildbot_www"; |
7 | 7 | inherit (buildbot-pkg) version; |
8 | 8 |
|
9 | | - src = fetchPypi { |
10 | | - inherit pname version; |
11 | | - hash = "sha256-EL5iZ257VXnL+29Jr6r3PVeURX1AcugfZ4RLTjClsXo="; |
| 9 | + src = fetchurl { |
| 10 | + url = "https://github.com/buildbot/buildbot/releases/download/v${version}/${pname}-${version}.tar.gz"; |
| 11 | + hash = "sha256-OzH7ckNL09s4r3f6PIc3q9lLT3NgCdIf0IMwJtwlKiY="; |
12 | 12 | }; |
13 | 13 |
|
14 | 14 | # Remove unnecessary circular dependency on buildbot |
|
33 | 33 | pname = "buildbot_www_react"; |
34 | 34 | inherit (buildbot-pkg) version; |
35 | 35 |
|
36 | | - src = fetchPypi { |
37 | | - inherit pname version; |
38 | | - hash = "sha256-5QLw5nXnU+z11E5Tgvu9bbbpCTRpV2zXndukcZPRjtE="; |
| 36 | + src = fetchurl { |
| 37 | + url = "https://github.com/buildbot/buildbot/releases/download/v${version}/${pname}-${version}.tar.gz"; |
| 38 | + hash = "sha256-lfurzhNJ5DvuPCD/WJ3k+ajuZzhNF6zGOgSuuD0/+Ys="; |
39 | 39 | }; |
40 | 40 |
|
41 | 41 | # Remove unnecessary circular dependency on buildbot |
|
60 | 60 | pname = "buildbot_console_view"; |
61 | 61 | inherit (buildbot-pkg) version; |
62 | 62 |
|
63 | | - src = fetchPypi { |
64 | | - inherit pname version; |
65 | | - hash = "sha256-tzqifo9A/KJF9dLpO7jblVaDjx7++v0wLz1Olc79JxI="; |
| 63 | + src = fetchurl { |
| 64 | + url = "https://github.com/buildbot/buildbot/releases/download/v${version}/${pname}-${version}.tar.gz"; |
| 65 | + hash = "sha256-uKNqnqUkNkd14/6QcquyWp1v59bNWcTB4s8lRO9hkUc="; |
66 | 66 | }; |
67 | 67 |
|
68 | 68 | buildInputs = [ buildbot-pkg ]; |
|
82 | 82 | pname = "buildbot_react_console_view"; |
83 | 83 | inherit (buildbot-pkg) version; |
84 | 84 |
|
85 | | - src = fetchPypi { |
86 | | - inherit pname version; |
87 | | - hash = "sha256-fzaqYmaO+vWnQpUvOsPCny3W27atcIHsgeGV6dKEJeg="; |
| 85 | + src = fetchurl { |
| 86 | + url = "https://github.com/buildbot/buildbot/releases/download/v${version}/${pname}-${version}.tar.gz"; |
| 87 | + hash = "sha256-wUrhPbd71F3OfXI5Re1xPnc1/vZxYXxdxX58fnWKjYE="; |
88 | 88 | }; |
89 | 89 |
|
90 | 90 | buildInputs = [ buildbot-pkg ]; |
|
104 | 104 | pname = "buildbot_waterfall_view"; |
105 | 105 | inherit (buildbot-pkg) version; |
106 | 106 |
|
107 | | - src = fetchPypi { |
108 | | - inherit pname version; |
109 | | - hash = "sha256-BLIs91k8/A4LYMTDgct7TOWFoLU4qK47Javr8qRzkZQ="; |
| 107 | + src = fetchurl { |
| 108 | + url = "https://github.com/buildbot/buildbot/releases/download/v${version}/${pname}-${version}.tar.gz"; |
| 109 | + hash = "sha256-qc5mP7V2cOR3SOt224i8HVoAyWHvVYbsqfIQvPjesmE="; |
110 | 110 | }; |
111 | 111 |
|
112 | 112 | buildInputs = [ buildbot-pkg ]; |
|
126 | 126 | pname = "buildbot_react_waterfall_view"; |
127 | 127 | inherit (buildbot-pkg) version; |
128 | 128 |
|
129 | | - src = fetchPypi { |
130 | | - inherit pname version; |
131 | | - hash = "sha256-dX+tp+WidfLy612+41jz+do/iXQTaIQPcetG8td3jp4="; |
| 129 | + src = fetchurl { |
| 130 | + url = "https://github.com/buildbot/buildbot/releases/download/v${version}/${pname}-${version}.tar.gz"; |
| 131 | + hash = "sha256-s6L4oF/wTOfM9uKFEJ/mjnQWE6oPRcd32lM1p2ox9+I="; |
132 | 132 | }; |
133 | 133 |
|
134 | 134 | buildInputs = [ buildbot-pkg ]; |
|
148 | 148 | pname = "buildbot_grid_view"; |
149 | 149 | inherit (buildbot-pkg) version; |
150 | 150 |
|
151 | | - src = fetchPypi { |
152 | | - inherit pname version; |
153 | | - hash = "sha256-2kLGdvmf2mnF21gkDCf6h+bhnsxveaNNh95qczRY824="; |
| 151 | + src = fetchurl { |
| 152 | + url = "https://github.com/buildbot/buildbot/releases/download/v${version}/${pname}-${version}.tar.gz"; |
| 153 | + hash = "sha256-tZRwDqWYjBwguqA6T3ZoY38+QFogXKiTzbg1qjs/spE="; |
154 | 154 | }; |
155 | 155 |
|
156 | 156 | buildInputs = [ buildbot-pkg ]; |
|
170 | 170 | pname = "buildbot_react_grid_view"; |
171 | 171 | inherit (buildbot-pkg) version; |
172 | 172 |
|
173 | | - src = fetchPypi { |
174 | | - inherit pname version; |
175 | | - hash = "sha256-rIAbk9+6Wi1PCjizHp9p6jpCwaBgBT5Ch1Sa4VKDoww="; |
| 173 | + src = fetchurl { |
| 174 | + url = "https://github.com/buildbot/buildbot/releases/download/v${version}/${pname}-${version}.tar.gz"; |
| 175 | + hash = "sha256-t++yXEgM4l40grSVccjx399TM/vUTmQOSInfH+Wqi50="; |
176 | 176 | }; |
177 | 177 |
|
178 | 178 | buildInputs = [ buildbot-pkg ]; |
|
192 | 192 | pname = "buildbot_wsgi_dashboards"; |
193 | 193 | inherit (buildbot-pkg) version; |
194 | 194 |
|
195 | | - src = fetchPypi { |
196 | | - inherit pname version; |
197 | | - hash = "sha256-D9mjEKFrh+ytNbpuN/06XbiBnKjFLopXfjDg28j7niw="; |
| 195 | + src = fetchurl { |
| 196 | + url = "https://github.com/buildbot/buildbot/releases/download/v${version}/${pname}-${version}.tar.gz"; |
| 197 | + hash = "sha256-MkrMcaf2UeUYjkwcdhj4rhBwEtVESJEMtGa7RArNLz0="; |
198 | 198 | }; |
199 | 199 |
|
200 | 200 | buildInputs = [ buildbot-pkg ]; |
|
214 | 214 | pname = "buildbot_react_wsgi_dashboards"; |
215 | 215 | inherit (buildbot-pkg) version; |
216 | 216 |
|
217 | | - src = fetchPypi { |
218 | | - inherit pname version; |
219 | | - hash = "sha256-q3In0IMAIBUjxSzv4LlH9EJukLYJ3WzoEYkFBZB96W8="; |
| 217 | + src = fetchurl { |
| 218 | + url = "https://github.com/buildbot/buildbot/releases/download/v${version}/${pname}-${version}.tar.gz"; |
| 219 | + hash = "sha256-iCAtKOl/8sfCwa3tsK2oQ+ybs0TVF5uWg4Jv/r7oPWg="; |
220 | 220 | }; |
221 | 221 |
|
222 | 222 | buildInputs = [ buildbot-pkg ]; |
|
236 | 236 | pname = "buildbot_badges"; |
237 | 237 | inherit (buildbot-pkg) version; |
238 | 238 |
|
239 | | - src = fetchPypi { |
240 | | - inherit pname version; |
241 | | - hash = "sha256-TK4KYn3CWxymTsKWeqHr2i5rdO9ZDHvJrb9RqfKNJV4="; |
| 239 | + src = fetchurl { |
| 240 | + url = "https://github.com/buildbot/buildbot/releases/download/v${version}/${pname}-${version}.tar.gz"; |
| 241 | + hash = "sha256-28vj6wUZEnVUSUWrveJ5tdIjN+l4RDewPnm3IVQPXn4="; |
242 | 242 | }; |
243 | 243 |
|
244 | 244 | buildInputs = [ buildbot-pkg ]; |
|
0 commit comments