1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "pyairports";
10 version = "2.1.1";
11 pyproject = true;
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-PWCnJ/zk2oG5xjk+qK4LM9Z7N+zjRN/8hj90njrWK80=";
16 };
17
18 build-system = [ setuptools ];
19
20 doCheck = false;
21
22 pythonImportsCheck = [ "pyairports" ];
23
24 meta = with lib; {
25 description = "Package which enables airport lookup by 3-letter IATA code";
26 homepage = "https://github.com/ozeliger/pyairports";
27 license = licenses.asl20;
28 maintainers = with maintainers; [ cfhammill ];
29 };
30}