11 buildPythonPackage rec {
14 format = "setuptools";
16 # uses the removed asyncore module
17 disabled = pythonOlder "3.9" || pythonAtLeast "3.12";
19 src = fetchFromGitHub {
22 rev = "refs/tags/v${version}";
23 hash = "sha256-BHCHI36nTqBj2dkHB/Y5qkC4uJCmzbHGzSFWKNsIdbc=";
27 substituteInPlace setup.py \
28 --replace "'pytest-runner'," "" \
29 --replace "(3, 8): 'py34'," "(3, 8): 'py34', (3, 9): 'py34', (3, 10): 'py34', (3, 11): 'py34', (3, 12): 'py34',"
32 propagatedBuildInputs = [ wheel ];
34 nativeCheckInputs = [ pytestCheckHook ];
37 # Test fails with a an error: AssertionError: assert 30 == 31
38 "test_recurring_task_5"
41 pythonImportsCheck = [ "bacpypes" ];
44 description = "Module for the BACnet application layer and network layer";
45 homepage = "https://github.com/JoelBender/bacpypes";
46 changelog = "https://github.com/JoelBender/bacpypes/releases/tag/v${version}";
47 license = licenses.mit;
48 maintainers = with maintainers; [ bachp ];