diff --git a/pkgs/development/python-modules/ismartgate/default.nix b/pkgs/development/python-modules/ismartgate/default.nix index 83d29173243d..943036ecbd46 100644 --- a/pkgs/development/python-modules/ismartgate/default.nix +++ b/pkgs/development/python-modules/ismartgate/default.nix @@ -18,13 +18,15 @@ buildPythonPackage rec { pname = "ismartgate"; version = "4.0.4"; + format = "setuptools"; + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "bdraco"; repo = pname; rev = "v${version}"; - sha256 = "sha256-yh7gPyy3VMdyINBCZo5K2wA0BY7yYgHrKGZRB/pm77U="; + hash = "sha256-yh7gPyy3VMdyINBCZo5K2wA0BY7yYgHrKGZRB/pm77U="; }; propagatedBuildInputs = [ @@ -49,7 +51,15 @@ buildPythonPackage rec { --replace '"pytest-runner>=5.2",' "" ''; - pythonImportsCheck = [ "ismartgate" ]; + pythonImportsCheck = [ + "ismartgate" + ]; + + disabledTestPaths = [ + # Tests are out-dated + "ismartgate/tests/test_init.py" + ]; + meta = with lib; { description = "Python module to work with the ismartgate and gogogate2 API";