python3Packages.pkginfo: enable tests

This commit is contained in:
Fabian Affolter 2021-11-21 18:25:52 +01:00
parent 931e4927c6
commit 33632479f8

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
@ -13,7 +14,13 @@ buildPythonPackage rec {
sha256 = "sha256-ZRdf+iyAciBnOkHDcVc6yaHqGxn/1e75FiePQoMZk08=";
};
doCheck = false; # I don't know why, but with doCheck = true it fails.
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pkginfo"
];
meta = with lib; {
description = "Query metadatdata from sdists, bdists or installed packages";