1{ lib, buildPythonPackage, fetchPypi }:
2
3buildPythonPackage rec {
4 pname = "buildbot-pkg";
5 version = "2.4.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "0na336jwibgbix8fr4jki1gqys44kkm0a8q32llcr2z08igs4mvy";
10 };
11
12 postPatch = ''
13 # Their listdir function filters out `node_modules` folders.
14 # Do we have to care about that with Nix...?
15 substituteInPlace buildbot_pkg.py --replace "os.listdir = listdir" ""
16 '';
17
18 meta = with lib; {
19 homepage = http://buildbot.net/;
20 description = "Buildbot Packaging Helper";
21 maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
22 license = licenses.gpl2;
23 };
24}