python310Packages.zigpy-zigate: 0.8.0 -> 0.9.0

This commit is contained in:
Fabian Affolter 2022-06-30 23:25:31 +02:00 committed by Martin Weinelt
parent c75cc76caa
commit 2b7af3878c

View file

@ -1,28 +1,28 @@
{ lib { lib
, asynctest
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, mock
, pyserial , pyserial
, pyserial-asyncio , pyserial-asyncio
, pyusb , pyusb
, pytest-asyncio , pytest-asyncio
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, zigpy }: , zigpy
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "zigpy-zigate"; pname = "zigpy-zigate";
version = "0.8.0"; version = "0.9.0";
# https://github.com/Martiusweb/asynctest/issues/152 format = "setuptools";
# broken by upstream python bug with asynctest and
# is used exclusively by home-assistant with python 3.8
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zigpy"; owner = "zigpy";
repo = "zigpy-zigate"; repo = "zigpy-zigate";
rev = version; rev = "v${version}";
sha256 = "sha256-rFmcgfn87XS1fvbSdJG6pItXRMkeogp4faKMe7pCxkM="; hash = "sha256-rFmcgfn87XS1fvbSdJG6pItXRMkeogp4faKMe7pCxkM=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -33,13 +33,22 @@ buildPythonPackage rec {
]; ];
checkInputs = [ checkInputs = [
asynctest mock
pytest-asyncio pytest-asyncio
pytestCheckHook pytestCheckHook
]; ];
pythonImportsCheck = [
"zigpy_zigate"
];
disabledTestPaths = [
# Fails in sandbox
"tests/test_application.py "
];
meta = with lib; { meta = with lib; {
description = "A library which communicates with ZiGate radios for zigpy"; description = "Library which communicates with ZiGate radios for zigpy";
homepage = "https://github.com/zigpy/zigpy-zigate"; homepage = "https://github.com/zigpy/zigpy-zigate";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
maintainers = with maintainers; [ etu mvnetbiz ]; maintainers = with maintainers; [ etu mvnetbiz ];