nixpkgs/pkgs/development/python-modules/pyairports/default.nix
2024-09-09 15:34:55 -04:00

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