3
0
Fork 0
forked from mirrors/nixpkgs

python39Packages.ismartgate: disable failing tests

This commit is contained in:
Fabian Affolter 2022-04-27 10:46:57 +02:00
parent 120fd26391
commit 253e99cecc

View file

@ -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";