3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.pynut2: disable tests

This commit is contained in:
Martin Weinelt 2022-01-19 17:02:04 +01:00
parent 5000afbfb1
commit b3da6aa7bc
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -2,7 +2,6 @@
, buildPythonPackage
, fetchFromGitHub
, requests
#, pytestCheckHook
}:
buildPythonPackage rec {
@ -20,13 +19,11 @@ buildPythonPackage rec {
requests
];
# tests are completely broken, wrong imports and old api
#checkInputs = [
# pytestCheckHook
#];
pythonImportsCheck = [ "pynut2.nut2" ];
# tests are unmaintained and broken
doCheck = false;
meta = with lib; {
description = "API overhaul of PyNUT, a Python library to allow communication with NUT (Network UPS Tools) servers.";
homepage = "https://github.com/mezz64/python-nut2";