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