python3Packages.iso3166: 1.0.1 -> 2.0.2

This commit is contained in:
Fabian Affolter 2021-10-31 14:14:14 +01:00
parent ba9b81a28e
commit 2de4ddafca

View File

@ -2,16 +2,20 @@
, fetchFromGitHub
, buildPythonPackage
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "iso3166";
version = "1.0.1";
version = "2.0.2";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "deactivated";
repo = "python-iso3166";
rev = "v${version}";
rev = version;
sha256 = "0zs9za9dr2nl5srxir08yibmp6nffcapmzala0fgh8ny7y6rafrx";
};
@ -19,11 +23,13 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [ "iso3166" ];
pythonImportsCheck = [
"iso3166"
];
meta = with lib; {
homepage = "https://github.com/deactivated/python-iso3166";
description = "Self-contained ISO 3166-1 country definitions";
homepage = "https://github.com/deactivated/python-iso3166";
license = licenses.mit;
maintainers = with maintainers; [ zraexy ];
};