blob: ce5df87c929d0281967caffbfab46bd20ea873ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{
lib,
fetchFromGitHub,
buildPythonPackage,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "iso3166";
version = "2.1.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "deactivated";
repo = "python-iso3166";
tag = "v${version}";
hash = "sha256-/y7c2qSA6+WKUP9YTSaMBjBxtqAuF4nB3MKvL5P6vL0=";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "iso3166" ];
meta = {
description = "Self-contained ISO 3166-1 country definitions";
homepage = "https://github.com/deactivated/python-iso3166";
changelog = "https://github.com/deactivated/python-iso3166/blob/v${version}/CHANGES";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ zraexy ];
};
}
|