nixpkgs/pkgs/development/python-modules/zigpy/default.nix

25 lines
721 B
Nix
Raw Normal View History

2019-11-29 17:25:43 +00:00
{ stdenv, buildPythonPackage, fetchPypi
, aiohttp, crccheck, pycryptodome, pycrypto, voluptuous
2019-11-29 17:25:43 +00:00
, pytest, pytest-asyncio, asynctest }:
buildPythonPackage rec {
pname = "zigpy";
version = "0.22.0";
2019-11-29 17:25:43 +00:00
propagatedBuildInputs = [ aiohttp crccheck pycrypto pycryptodome voluptuous ];
checkInputs = [ pytest pytest-asyncio asynctest ];
2019-11-29 17:25:43 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "1y8n96g5g6qsx8s2z028f1cyp2w8y7kksi8k2yyzpqvmanbxyjhc";
2019-11-29 17:25:43 +00:00
};
meta = with stdenv.lib; {
description = "Library implementing a ZigBee stack";
homepage = "https://github.com/zigpy/zigpy";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ etu mvnetbiz ];
2019-11-29 17:25:43 +00:00
platforms = platforms.linux;
};
}