1{ 2 lib, 3 newScope, 4 python3, 5 recurseIntoAttrs, 6}: 7# Take packages from self first, then python.pkgs (and secondarily pkgs) 8lib.makeScope (self: newScope (self.python.pkgs // self)) (self: { 9 python = python3; 10 11 buildbot-pkg = self.callPackage ./pkg.nix { }; 12 13 buildbot-worker = self.callPackage ./worker.nix { }; 14 15 buildbot = self.callPackage ./master.nix { }; 16 17 buildbot-plugins = recurseIntoAttrs (self.callPackage ./plugins.nix { }); 18 19 buildbot-ui = self.buildbot.withPlugins (with self.buildbot-plugins; [ www ]); 20 21 buildbot-full = self.buildbot.withPlugins ( 22 with self.buildbot-plugins; 23 [ 24 www 25 console-view 26 waterfall-view 27 grid-view 28 wsgi-dashboards 29 badges 30 ] 31 ); 32})