python3Packages.nessclient: enable tests

This commit is contained in:
Fabian Affolter 2021-11-20 13:13:49 +01:00
parent 111b9e5630
commit 6ba4962a15

View File

@ -1,9 +1,12 @@
{ lib
, asynctest
, buildPythonPackage
, click
, fetchFromGitHub
, justbackoff
, pythonOlder
, pytest-asyncio
, pytestCheckHook
}:
buildPythonPackage rec {
@ -25,15 +28,18 @@ buildPythonPackage rec {
click
];
# Tests are not shipped
doCheck = false;
checkInputs = [
asynctest
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"nessclient"
];
meta = with lib; {
description = "Python implementation/abstraction of the Ness D8x / D16x Serial Interface ASCII protocol";
description = "Python implementation/abstraction of the Ness D8x/D16x Serial Interface ASCII protocol";
homepage = "https://github.com/nickw444/nessclient";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];