1{ python3
2, fetchPypi
3, recurseIntoAttrs
4, callPackage
5}:
6let
7 python = python3.override {
8 packageOverrides = self: super: {
9 sqlalchemy = super.sqlalchemy.overridePythonAttrs (oldAttrs: rec {
10 version = "1.4.40";
11 src = fetchPypi {
12 pname = "SQLAlchemy";
13 inherit version;
14 hash = "sha256-RKZgUGCAzJdeHfpXdv5fYxXdxiane1C/Du4YsDieomU=";
15 };
16 });
17 moto = super.moto.overridePythonAttrs (oldAttrs: rec {
18 # a lot of tests -> very slow, we already build them when building python packages
19 doCheck = false;
20 });
21 };
22 };
23
24 buildbot-pkg = python.pkgs.callPackage ./pkg.nix {
25 inherit buildbot;
26 };
27 buildbot-worker = python3.pkgs.callPackage ./worker.nix {
28 inherit buildbot;
29 };
30 buildbot = python.pkgs.callPackage ./master.nix {
31 inherit buildbot-pkg buildbot-worker buildbot-plugins;
32 };
33 buildbot-plugins = recurseIntoAttrs (callPackage ./plugins.nix {
34 inherit buildbot-pkg;
35 });
36in
37{
38 inherit buildbot buildbot-plugins buildbot-worker;
39 buildbot-ui = buildbot.withPlugins (with buildbot-plugins; [ www ]);
40 buildbot-full = buildbot.withPlugins (with buildbot-plugins; [
41 www console-view waterfall-view grid-view wsgi-dashboards badges
42 ]);
43}