tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
buildbot-www-react: init 3.9.2
Jörg Thalheim
2 years ago
6198bb8a
0bffda19
+38
-1
2 changed files
expand all
collapse all
unified
split
pkgs
development
tools
continuous-integration
buildbot
plugins.nix
update.sh
+37
-1
pkgs/development/tools/continuous-integration/buildbot/plugins.nix
···
1
1
-
{ lib, buildPythonPackage, fetchPypi, callPackage, mock, cairosvg, klein, jinja2, buildbot-pkg }:
1
1
+
{ lib, buildPythonPackage, fetchPypi, fetchurl, callPackage, mock, cairosvg, klein, jinja2, buildbot-pkg, unzip, zip }:
2
2
{
3
3
# this is exposed for potential plugins to use and for nix-update
4
4
inherit buildbot-pkg;
···
26
26
description = "Buildbot UI";
27
27
maintainers = with maintainers; [ ryansydnor lopsided98 ];
28
28
license = licenses.gpl2;
29
29
+
};
30
30
+
};
31
31
+
32
32
+
www-react = buildPythonPackage rec {
33
33
+
pname = "buildbot-www-react";
34
34
+
inherit (buildbot-pkg) version;
35
35
+
format = "wheel";
36
36
+
37
37
+
# fetchpypy returns a 404 for the wheel?
38
38
+
# normal source release doesn't have any assets
39
39
+
src = fetchurl {
40
40
+
url = "https://github.com/buildbot/buildbot/releases/download/v${version}/buildbot_www_react-${version}-py3-none-any.whl";
41
41
+
hash = "sha256-pEzuMiDhGQtIWQm80lgKIcTjnS7Z8UJhH9plJup5O84=";
42
42
+
};
43
43
+
44
44
+
# Remove unneccessary circular dependency on buildbot
45
45
+
postPatch = ''
46
46
+
pushd dist
47
47
+
unzip buildbot_www_react-${version}-py3-none-any.whl
48
48
+
sed -i "s/Requires-Dist: buildbot//" buildbot_www_react-${version}.dist-info/METADATA
49
49
+
chmod -R u+w buildbot_www_react-${version}-py3-none-any.whl
50
50
+
zip -r buildbot_www_react-${version}-py3-none-any.whl buildbot_www_react-${version}.dist-info
51
51
+
popd
52
52
+
'';
53
53
+
54
54
+
buildInputs = [ buildbot-pkg ];
55
55
+
nativeBuildInputs = [ unzip zip ];
56
56
+
57
57
+
# No tests
58
58
+
doCheck = false;
59
59
+
60
60
+
meta = with lib; {
61
61
+
homepage = "https://buildbot.net/";
62
62
+
description = "Buildbot UI (React)";
63
63
+
maintainers = with maintainers; [ mic92 ];
64
64
+
license = licenses.gpl2Only;
29
65
};
30
66
};
31
67
+1
pkgs/development/tools/continuous-integration/buildbot/update.sh
···
6
6
nix-update --version=skip buildbot-worker
7
7
nix-update --version=skip buildbot-plugins.buildbot-pkg
8
8
nix-update --version=skip buildbot-plugins.www
9
9
+
nix-update --version=skip buildbot-plugins.www-react
9
10
nix-update --version=skip buildbot-plugins.console-view
10
11
nix-update --version=skip buildbot-plugins.waterfall-view
11
12
nix-update --version=skip buildbot-plugins.grid-view