1{ lib
2, buildPythonPackage
3, fetchPypi
4, setuptools
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "pycountry";
10 version = "22.3.5";
11
12 src = fetchPypi {
13 inherit pname version;
14 hash = "sha256-shY6JGxYWJTYCPGHg+GRN8twoMGPs2dI3AH8bxCcFkY=";
15 };
16
17 propagatedBuildInputs = [
18 setuptools
19 ];
20
21 nativeCheckInputs = [
22 pytestCheckHook
23 ];
24
25 pythonImportsCheck = [
26 "pycountry"
27 ];
28
29 meta = with lib; {
30 homepage = "https://github.com/flyingcircusio/pycountry";
31 description = "ISO country, subdivision, language, currency and script definitions and their translations";
32 license = licenses.lgpl2;
33 maintainers = with maintainers; [ ];
34 };
35
36}