summaryrefslogtreecommitdiff
path: root/pkgs/development/tools/continuous-integration/buildbot/default.nix
blob: 580948eea03073d76a79f92194ad56a97a048aa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  lib,
  newScope,
  python3,
}:
# Take packages from self first, then python.pkgs (and secondarily pkgs)
lib.makeScope (self: newScope (self.python.pkgs // self)) (self: {
  python = python3;

  buildbot-pkg = self.callPackage ./pkg.nix { };

  buildbot-worker = self.callPackage ./worker.nix { };

  buildbot = self.callPackage ./master.nix { };

  buildbot-plugins = lib.recurseIntoAttrs (self.callPackage ./plugins.nix { });

  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
      badges
    ]
  );
})