mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
Merge pull request #143997 from fabaff/bump-iso3166
This commit is contained in:
commit
13f5b1ffb0
@ -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 ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user