16 buildPythonPackage rec {
17 pname = "zigpy-zigate";
21 disabled = pythonOlder "3.8";
23 src = fetchFromGitHub {
25 repo = "zigpy-zigate";
26 rev = "refs/tags/${version}";
27 hash = "sha256-wziXUFYSUXhzWHM870jphG12h99WVzqiYimtIbkXyM0=";
31 substituteInPlace pyproject.toml \
32 --replace ', "setuptools-git-versioning<2"' "" \
33 --replace 'dynamic = ["version"]' 'version = "${version}"'
40 propagatedBuildInputs = [
54 pythonImportsCheck = [
60 "tests/test_application.py "
64 description = "Library which communicates with ZiGate radios for zigpy";
65 homepage = "https://github.com/zigpy/zigpy-zigate";
66 changelog = "https://github.com/zigpy/zigpy-zigate/releases/tag/${version}";
67 license = licenses.gpl3Plus;
68 maintainers = with maintainers; [ mvnetbiz ];
69 platforms = platforms.linux;