Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / zigpy / default.nix
blobf03b9e96759e5a699d78d7766ccb9b217348b43c
1 { lib
2 , aiohttp
3 , aiosqlite
4 , asynctest
5 , buildPythonPackage
6 , crccheck
7 , fetchFromGitHub
8 , pycrypto
9 , pycryptodome
10 , pytest-aiohttp
11 , pytest-asyncio
12 , pytestCheckHook
13 , tox
14 , voluptuous }:
16 buildPythonPackage rec {
17   pname = "zigpy";
18   version = "0.33.0";
20   src = fetchFromGitHub {
21     owner = "zigpy";
22     repo = "zigpy";
23     rev = version;
24     sha256 = "sha256-oEf4GnvbQ6LY4NaNFWRmnNz1TK2tMpIVUxskhU38g4w=";
25   };
27   propagatedBuildInputs = [
28     aiohttp
29     aiosqlite
30     crccheck
31     pycrypto
32     pycryptodome
33     voluptuous
34   ];
36   checkInputs = [
37     asynctest
38     pytest-aiohttp
39     pytest-asyncio
40     pytestCheckHook
41   ];
43   meta = with lib; {
44     description = "Library implementing a ZigBee stack";
45     homepage = "https://github.com/zigpy/zigpy";
46     license = licenses.gpl3Plus;
47     maintainers = with maintainers; [ etu mvnetbiz ];
48     platforms = platforms.linux;
49   };