From 92282f192977fb765c3ecdef260f89e682fbf3a2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 15 Apr 2022 10:38:59 +0200 Subject: [PATCH] python3Packages.pyefergy: disable tests --- pkgs/development/python-modules/pyefergy/default.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/pyefergy/default.nix b/pkgs/development/python-modules/pyefergy/default.nix index 28fb058c52a2..7b7e587feddb 100644 --- a/pkgs/development/python-modules/pyefergy/default.nix +++ b/pkgs/development/python-modules/pyefergy/default.nix @@ -1,11 +1,9 @@ { lib , aiohttp -, aresponses , buildPythonPackage , fetchFromGitHub , iso4217 , pytest-asyncio -, pytestCheckHook , pythonOlder , pytz }: @@ -21,7 +19,7 @@ buildPythonPackage rec { owner = "tkdrob"; repo = pname; rev = version; - sha256 = "sha256-AdoM+PcVoajxhnEfkyN9UuNufChu8XGmZDLNC3mjrps="; + hash = "sha256-AdoM+PcVoajxhnEfkyN9UuNufChu8XGmZDLNC3mjrps="; }; propagatedBuildInputs = [ @@ -30,11 +28,8 @@ buildPythonPackage rec { pytz ]; - checkInputs = [ - aresponses - pytest-asyncio - pytestCheckHook - ]; + # Tests require network access + doCheck =false; pythonImportsCheck = [ "pyefergy"