mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
67 lines
1.1 KiB
Nix
67 lines
1.1 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.51.5";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zigpy";
|
|
repo = "zigpy";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-6OSP23lEdl15IjSqGYLCW5+F6rki+rzmXm82QRzabwU=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
aiosqlite
|
|
crccheck
|
|
cryptography
|
|
pyserial-asyncio
|
|
pycryptodome
|
|
voluptuous
|
|
];
|
|
|
|
checkInputs = [
|
|
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";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ mvnetbiz ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|