mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-18 03:04:32 +03:00
Merge pull request #211969 from JulienMalka/buildbot-badges-plugin
buildbot: add badges plugin
This commit is contained in:
commit
474df7ca08
@ -1,4 +1,4 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, buildbot-pkg, mock }:
|
||||
{ lib, buildPythonPackage, fetchPypi, buildbot-pkg, mock, cairosvg, klein, jinja2 }:
|
||||
|
||||
{
|
||||
www = buildPythonPackage rec {
|
||||
@ -115,4 +115,28 @@
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
};
|
||||
|
||||
badges = buildPythonPackage rec {
|
||||
pname = "buildbot-badges";
|
||||
inherit (buildbot-pkg) version;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-H0Dn+uTtFyZgyqbk3QQEc5t7CJovyzU+XuCoTe4Ajug=";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -1477,7 +1477,7 @@ self: super: with self; {
|
||||
|
||||
buildbot-ui = self.buildbot.withPlugins (with self.buildbot-plugins; [ www ]);
|
||||
|
||||
buildbot-full = self.buildbot.withPlugins (with self.buildbot-plugins; [ www console-view waterfall-view grid-view wsgi-dashboards ]);
|
||||
buildbot-full = self.buildbot.withPlugins (with self.buildbot-plugins; [ www console-view waterfall-view grid-view wsgi-dashboards badges ]);
|
||||
|
||||
buildbot-pkg = callPackage ../development/python-modules/buildbot/pkg.nix { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user