14 buildPythonPackage rec {
15 pname = "zigpy-deconz";
19 disabled = pythonOlder "3.7";
21 src = fetchFromGitHub {
24 rev = "refs/tags/${version}";
25 hash = "sha256-CSXJcERqrPnCdlwyNSqSkxoiVhjNuL2GL4J6h2DMZY4=";
29 substituteInPlace pyproject.toml \
30 --replace-fail ', "setuptools-git-versioning<2"' "" \
31 --replace-fail 'dynamic = ["version"]' 'version = "${version}"'
34 nativeBuildInputs = [ setuptools ];
36 propagatedBuildInputs = [
47 pythonImportsCheck = [ "zigpy_deconz" ];
50 description = "Library which communicates with Deconz radios for zigpy";
51 homepage = "https://github.com/zigpy/zigpy-deconz";
52 changelog = "https://github.com/zigpy/zigpy-deconz/releases/tag/${version}";
53 license = licenses.gpl3Plus;
54 maintainers = with maintainers; [ mvnetbiz ];
55 platforms = platforms.linux;