python3Packages.pycountry: enable tests

This commit is contained in:
Martin Weinelt 2021-10-10 05:07:15 +02:00
parent fd2d5dd339
commit 0e8b3299ce

View file

@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
,
, pytestCheckHook
}:
buildPythonPackage rec {
@ -13,10 +13,19 @@ buildPythonPackage rec {
sha256 = "0hnbabsmqimx5hqh0jbd2f64i8fhzhhbrvid57048hs5sd9ll241";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pycountry"
];
meta = with lib; {
homepage = "https://bitbucket.org/flyingcircus/pycountry";
description = "ISO country, subdivision, language, currency and script definitions and their translations";
license = licenses.lgpl2;
maintainers = with maintainers; [ ];
};
}