Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 26 lines 693 B view raw
1{ lib, buildPythonPackage, fetchPypi, isPy3k }: 2 3buildPythonPackage rec { 4 pname = "buildbot-pkg"; 5 version = "2.7.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "03zb09r8w8dvd9qas7h6gdwlqc7q482ikph6h3708lpnkn72xdkb"; 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 disabled = !isPy3k; 19 20 meta = with lib; { 21 homepage = "https://buildbot.net/"; 22 description = "Buildbot Packaging Helper"; 23 maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ]; 24 license = licenses.gpl2; 25 }; 26}