14 buildPythonPackage rec {
19 disabled = pythonOlder "3.8";
21 src = fetchFromGitHub {
24 rev = "refs/tags/${version}";
25 hash = "sha256-Ep7pP2vcH9YpSrGPVDi3nc+WkQgBVS+NLmoQU0o0aQQ=";
29 substituteInPlace pyproject.toml \
30 --replace ', "setuptools-git-versioning<2"' "" \
31 --replace 'dynamic = ["version"]' 'version = "${version}"'
34 nativeBuildInputs = [ setuptools ];
36 propagatedBuildInputs = [
48 # fixed in https://github.com/zigpy/zigpy-xbee/commit/f85233fc28ae01c08267965e99a29e43b00e1561
53 changelog = "https://github.com/zigpy/zigpy-xbee/releases/tag/${version}";
54 description = "Library which communicates with XBee radios for zigpy";
55 homepage = "https://github.com/zigpy/zigpy-xbee";
56 license = licenses.gpl3Plus;
57 maintainers = with maintainers; [ mvnetbiz ];
58 platforms = platforms.linux;