159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
30 lines
631 B
Nix
30 lines
631 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyairports";
|
|
version = "2.1.1";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-PWCnJ/zk2oG5xjk+qK4LM9Z7N+zjRN/8hj90njrWK80=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "pyairports" ];
|
|
|
|
meta = with lib; {
|
|
description = "pyairports is a package which enables airport lookup by 3-letter IATA code.";
|
|
homepage = "https://github.com/ozeliger/pyairports";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ cfhammill ];
|
|
};
|
|
}
|