Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 buildPythonPackage, 3 fetchFromBitbucket, 4 lib, 5 pytestCheckHook, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "zcc-helper"; 11 version = "3.5.2"; 12 pyproject = true; 13 14 src = fetchFromBitbucket { 15 owner = "mark_hannon"; 16 repo = "zcc"; 17 rev = "release_${version}"; 18 hash = "sha256-6cpLpzzJPoyWaldXZzptV2LY5aYmRtVf0rd1Ye71VG0="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 pythonImportsCheck = [ "zcc" ]; 24 25 nativeCheckInputs = [ 26 pytestCheckHook 27 ]; 28 29 disabledTestPaths = [ 30 # tests require running a server 31 "tests/test_controller.py" 32 # fixture 'when' not found 33 "tests/test_socket.py" 34 ]; 35 36 meta = { 37 description = "ZIMI ZCC helper module"; 38 homepage = "https://bitbucket.org/mark_hannon/zcc"; 39 license = lib.licenses.mit; 40 maintainers = with lib.maintainers; [ dotlambda ]; 41 }; 42}