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

49 lines
853 B
Nix
Raw Normal View History

{ lib
, aiohttp
, asynctest
, buildPythonPackage
, crccheck
, fetchFromGitHub
, pycrypto
, pycryptodome
, pytest-aiohttp
, pytest-asyncio
, pytestCheckHook
, tox
, voluptuous }:
2019-11-29 17:25:43 +00:00
buildPythonPackage rec {
pname = "zigpy";
version = "0.26.0";
2019-11-29 17:25:43 +00:00
src = fetchFromGitHub {
owner = "zigpy";
repo = "zigpy";
rev = version;
sha256 = "ba8Ru6RCbFOHhctFtklnrxVD3uEpxF4XDvO5RMgXPBs=";
2019-11-29 17:25:43 +00:00
};
propagatedBuildInputs = [
aiohttp
crccheck
pycrypto
pycryptodome
voluptuous
];
checkInputs = [
asynctest
pytest-aiohttp
pytest-asyncio
pytestCheckHook
];
meta = with lib; {
2019-11-29 17:25:43 +00:00
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;
};
}