From b3da6aa7bcdddf18710cd7e16a77603964e7c4b4 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 19 Jan 2022 17:02:04 +0100 Subject: [PATCH] python3Packages.pynut2: disable tests --- pkgs/development/python-modules/pynut2/default.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pynut2/default.nix b/pkgs/development/python-modules/pynut2/default.nix index a530007e91e0..11313dcadc69 100644 --- a/pkgs/development/python-modules/pynut2/default.nix +++ b/pkgs/development/python-modules/pynut2/default.nix @@ -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";