Merge pull request from fabaff/bump-zigpy-znp

python3Packages.zigpy-znp: 0.4.0 -> 0.5.1
This commit is contained in:
Martin Weinelt 2021-05-05 15:34:23 +02:00 committed by GitHub
commit 0d337eb6b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;