diff --git a/pkgs/development/python-modules/zigpy-deconz/default.nix b/pkgs/development/python-modules/zigpy-deconz/default.nix new file mode 100644 index 000000000000..c9df7824093f --- /dev/null +++ b/pkgs/development/python-modules/zigpy-deconz/default.nix @@ -0,0 +1,25 @@ +{ stdenv, buildPythonPackage, fetchPypi +, aiohttp, crccheck, pyserial, pyserial-asyncio, pycryptodome, zigpy +, pytest }: + +buildPythonPackage rec { + pname = "zigpy-deconz"; + version = "0.7.0"; + + nativeBuildInputs = [ pytest ]; + buildInputs = [ aiohttp crccheck pycryptodome ]; + propagatedBuildInputs = [ pyserial pyserial-asyncio zigpy ]; + + src = fetchPypi { + inherit pname version; + sha256 = "049k6lvgf6yjkinbbzm7gqrzqljk2ky9kfw8n53x8kjyfmfp71i2"; + }; + + meta = with stdenv.lib; { + description = "Library which communicates with Deconz radios for zigpy"; + homepage = "https://github.com/zigpy/zigpy-deconz"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ etu ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 52933486b452..e7f66181d49c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2278,6 +2278,8 @@ in { zigpy = callPackage ../development/python-modules/zigpy { }; + zigpy-deconz = callPackage ../development/python-modules/zigpy-deconz { }; + digital-ocean = callPackage ../development/python-modules/digitalocean { }; leather = callPackage ../development/python-modules/leather { };