depot/third_party/nixpkgs/pkgs/development/python-modules/pyairports/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

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 ];
};
}