blob: 71a79c8132e39acbf958ffb6ba9ead338e6ff283 (
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
32
33
34
35
36
|
{
lib,
buildPythonPackage,
setuptools,
isPy3k,
buildbot,
}:
buildPythonPackage {
pname = "buildbot_pkg";
inherit (buildbot) src version;
pyproject = true;
postPatch = ''
cd pkg
# Their listdir function filters out `node_modules` folders.
# Do we have to care about that with Nix...?
substituteInPlace buildbot_pkg.py --replace "os.listdir = listdir" ""
'';
build-system = [ setuptools ];
# No tests
doCheck = false;
pythonImportsCheck = [ "buildbot_pkg" ];
disabled = !isPy3k;
meta = {
homepage = "https://buildbot.net/";
description = "Buildbot Packaging Helper";
teams = [ lib.teams.buildbot ];
license = lib.licenses.gpl2;
};
}
|