Merge pull request #230364 from carlthome/enable-yapsy-tests
python3Packages.yapsy: use pytest and enable darwin
This commit is contained in:
commit
f269002e7c
@ -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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user