mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-13 08:23:25 +00:00
Merge pull request #143997 from fabaff/bump-iso3166
This commit is contained in:
commit
13f5b1ffb0
@ -2,16 +2,20 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "iso3166";
|
pname = "iso3166";
|
||||||
version = "1.0.1";
|
version = "2.0.2";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "deactivated";
|
owner = "deactivated";
|
||||||
repo = "python-iso3166";
|
repo = "python-iso3166";
|
||||||
rev = "v${version}";
|
rev = version;
|
||||||
sha256 = "0zs9za9dr2nl5srxir08yibmp6nffcapmzala0fgh8ny7y6rafrx";
|
sha256 = "0zs9za9dr2nl5srxir08yibmp6nffcapmzala0fgh8ny7y6rafrx";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -19,11 +23,13 @@ buildPythonPackage rec {
|
|||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "iso3166" ];
|
pythonImportsCheck = [
|
||||||
|
"iso3166"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/deactivated/python-iso3166";
|
|
||||||
description = "Self-contained ISO 3166-1 country definitions";
|
description = "Self-contained ISO 3166-1 country definitions";
|
||||||
|
homepage = "https://github.com/deactivated/python-iso3166";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ zraexy ];
|
maintainers = with maintainers; [ zraexy ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user