13 buildPythonPackage rec {
14 pname = "zigpy-deconz";
18 disabled = pythonOlder "3.7";
20 src = fetchFromGitHub {
23 rev = "refs/tags/${version}";
24 hash = "sha256-10EyT3IGdAtF9OUbfZ5OtP+Ot35O0SfMDtsyw5FQ+/8=";
28 substituteInPlace pyproject.toml \
29 --replace ', "setuptools-git-versioning<2"' "" \
30 --replace 'dynamic = ["version"]' 'version = "${version}"'
37 propagatedBuildInputs = [
48 pythonImportsCheck = [
53 description = "Library which communicates with Deconz radios for zigpy";
54 homepage = "https://github.com/zigpy/zigpy-deconz";
55 changelog = "https://github.com/zigpy/zigpy-deconz/releases/tag/${version}";
56 license = licenses.gpl3Plus;
57 maintainers = with maintainers; [ mvnetbiz ];
58 platforms = platforms.linux;