diff --git a/pkgs/development/python-modules/nessclient/default.nix b/pkgs/development/python-modules/nessclient/default.nix index c21ef192bec9..d91a80eb9d0f 100644 --- a/pkgs/development/python-modules/nessclient/default.nix +++ b/pkgs/development/python-modules/nessclient/default.nix @@ -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 ];