diff --git a/pkgs/development/python-modules/iso3166/default.nix b/pkgs/development/python-modules/iso3166/default.nix index 1fc5f695831c..c03acde33118 100644 --- a/pkgs/development/python-modules/iso3166/default.nix +++ b/pkgs/development/python-modules/iso3166/default.nix @@ -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 ]; };