python3Packages.pyairports: init at 2.1.1

This commit is contained in:
cfhammill
2024-07-31 21:56:47 +00:00
committed by Someone Serge
parent f2416db518
commit 5377367b0d

View File

@@ -0,0 +1,30 @@
{
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;
pythonImportChecks = [ "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 ];
};
}