Merge pull request #230364 from carlthome/enable-yapsy-tests

python3Packages.yapsy: use pytest and enable darwin
This commit is contained in:
Weijia Wang 2023-05-06 20:50:59 +03:00 committed by GitHub
commit f269002e7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,7 @@
, stdenv
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
@ -14,11 +15,13 @@ buildPythonPackage rec {
sha256 = "12rznbnswfw0w7qfbvmmffr9r317gl1rqg36nijwzsklkjgks4fq";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "yapsy" ];
meta = with lib; {
homepage = "https://yapsy.sourceforge.net/";
description = "Yet another plugin system";
license = licenses.bsd0;
# tests fail and are not using pytest to easily disable them
broken = stdenv.isDarwin;
};
}