nixpkgs/pkgs/development/python-modules/zigpy/default.nix
Martin Weinelt c4fd5553ff
Merge pull request #210518 from r-ryantm/auto-update/python310Packages.zigpy
python310Packages.zigpy: 0.53.0 -> 0.53.1
2023-01-27 01:41:22 +00:00

68 lines
1.2 KiB
Nix

{ lib
, aiohttp
, aiosqlite
, asynctest
, buildPythonPackage
, crccheck
, cryptography
, freezegun
, fetchFromGitHub
, pycryptodome
, pyserial-asyncio
, pytest-asyncio
, pytest-timeout
, pytestCheckHook
, pythonOlder
, voluptuous
}:
buildPythonPackage rec {
pname = "zigpy";
version = "0.53.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "zigpy";
repo = "zigpy";
rev = "refs/tags/${version}";
hash = "sha256-1ey1JDxRF9zYSTn1EKWz1gcCw5WrCCH1eNyp6KOO8eI=";
};
propagatedBuildInputs = [
aiohttp
aiosqlite
crccheck
cryptography
pyserial-asyncio
pycryptodome
voluptuous
];
nativeCheckInputs = [
asynctest
freezegun
pytest-asyncio
pytest-timeout
pytestCheckHook
];
pythonImportsCheck = [
"zigpy.application"
"zigpy.config"
"zigpy.exceptions"
"zigpy.types"
"zigpy.zcl"
];
meta = with lib; {
description = "Library implementing a ZigBee stack";
homepage = "https://github.com/zigpy/zigpy";
changelog = "https://github.com/zigpy/zigpy/releases/tag/${version}";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ mvnetbiz ];
platforms = platforms.linux;
};
}