Unverified Commit f269002e authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

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

python3Packages.yapsy: use pytest and enable darwin
parents 11fc1f22 5c5a360e
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -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;
  };
}