nixpkgs/pkgs/development/python-modules/zigpy-znp/default.nix
Martin Weinelt 7c424e3f56
python3Packages.zigpy-znp: disable test_force_remove test case
The zigpy-znp package didn't sync up with changes to the zigpy 0.29 in
time for the home-assistant 2021.1.0 release, so let's disable this test
until the next release.

Co-Authored-By: Matt Votava <mvnetbiz@gmail.com>
2021-01-07 13:33:09 +01:00

61 lines
1.2 KiB
Nix

{ stdenv
, async-timeout
, asynctest
, buildPythonPackage
, coloredlogs
, coveralls
, fetchFromGitHub
, pyserial
, pyserial-asyncio
, pytest-asyncio
, pytest-mock
, pytest-timeout
, pytestcov
, pytestCheckHook
, voluptuous
, zigpy }:
buildPythonPackage rec {
pname = "zigpy-znp";
version = "0.3.0";
src = fetchFromGitHub {
owner = "zha-ng";
repo = "zigpy-znp";
rev = "v${version}";
sha256 = "18dav2n5fqdigf8dl7gcqa9z8l6p2ig6l5q78gqg2wj7wjpncwyj";
};
propagatedBuildInputs = [
async-timeout
coloredlogs
pyserial
pyserial-asyncio
voluptuous
zigpy
];
checkInputs = [
asynctest
coveralls
pytest-asyncio
pytest-mock
pytest-timeout
pytestcov
pytestCheckHook
];
disabledTests = [
# zigpy-znp was too slow to sync up with the zigpy 0.29 release and has API breakage, remove >0.3.0
"test_force_remove"
];
meta = with stdenv.lib; {
description = "A library for zigpy which communicates with TI ZNP radios";
homepage = "https://github.com/zha-ng/zigpy-znp";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ mvnetbiz ];
platforms = platforms.linux;
};
}