python3Packages.zigpy-znp: 0.4.0 -> 0.5.1

This commit is contained in:
Fabian Affolter 2021-05-05 08:09:42 +02:00
parent 39e6bf7647
commit c7b7ae485d

View file

@ -3,32 +3,34 @@
, asynctest
, buildPythonPackage
, coloredlogs
, coveralls
, fetchFromGitHub
, jsonschema
, pyserial
, pyserial-asyncio
, pytest-asyncio
, pytest-mock
, pytest-timeout
, pytestcov
, pytestCheckHook
, pythonOlder
, voluptuous
, zigpy }:
, zigpy
}:
buildPythonPackage rec {
pname = "zigpy-znp";
version = "0.4.0";
version = "0.5.1";
src = fetchFromGitHub {
owner = "zha-ng";
repo = "zigpy-znp";
owner = "zigpy";
repo = pname;
rev = "v${version}";
sha256 = "1g5jssdnibhb4i4k1js9iy9w40cipf1gdnyp847x0bv6wblzx8rl";
sha256 = "152d803jfrvkj4namni41fnbbnq85wd7zsqjhmkwrrmn2gvqjiln";
};
propagatedBuildInputs = [
async-timeout
coloredlogs
jsonschema
pyserial
pyserial-asyncio
voluptuous
@ -36,18 +38,19 @@ buildPythonPackage rec {
];
checkInputs = [
asynctest
coveralls
pytest-asyncio
pytest-mock
pytest-timeout
pytestcov
pytestCheckHook
] ++ lib.optionals (pythonOlder "3.8") [
asynctest
];
pythonImportsCheck = [ "zigpy_znp" ];
meta = with lib; {
description = "A library for zigpy which communicates with TI ZNP radios";
homepage = "https://github.com/zha-ng/zigpy-znp";
description = "Python library for zigpy which communicates with TI ZNP radios";
homepage = "https://github.com/zigpy/zigpy-znp";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ mvnetbiz ];
platforms = platforms.linux;