Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 isPy3k, 5 buildbot, 6}: 7 8buildPythonPackage { 9 pname = "buildbot_pkg"; 10 inherit (buildbot) src version; 11 12 postPatch = '' 13 cd pkg 14 # Their listdir function filters out `node_modules` folders. 15 # Do we have to care about that with Nix...? 16 substituteInPlace buildbot_pkg.py --replace "os.listdir = listdir" "" 17 ''; 18 19 # No tests 20 doCheck = false; 21 22 pythonImportsCheck = [ "buildbot_pkg" ]; 23 24 disabled = !isPy3k; 25 26 meta = with lib; { 27 homepage = "https://buildbot.net/"; 28 description = "Buildbot Packaging Helper"; 29 teams = [ teams.buildbot ]; 30 license = licenses.gpl2; 31 }; 32}