23 buildPythonPackage rec {
26 format = "setuptools";
28 disabled = pythonOlder "3.10";
30 src = fetchFromGitHub {
31 owner = "allenporter";
33 rev = "refs/tags/${version}";
34 hash = "sha256-VwcYyD9JtLDU2Bgp2hlptDz3vPoX4revTRKTA8OkWEw=";
38 substituteInPlace pytest.ini \
39 --replace "--cov=pyrainbird --cov-report=term-missing" ""
41 substituteInPlace setup.cfg \
42 --replace "pycryptodome>=3.16.0" "pycryptodome"
45 propagatedBuildInputs = [
55 __darwinAllowLocalNetworking = true;
69 pythonImportsCheck = [
74 description = "Module to interact with Rainbird controllers";
75 homepage = "https://github.com/allenporter/pyrainbird";
76 changelog = "https://github.com/allenporter/pyrainbird/releases/tag/${version}";
77 license = with licenses; [ mit ];
78 maintainers = with maintainers; [ fab ];