1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "airportsdata"; 11 version = "20250224"; 12 pyproject = true; 13 14 disabled = pythonOlder "3.9"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-f0U4phNQREShMUm+cBqsX5WZuG2kdtJrRqok/VRxTto="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 pythonImportsCheck = [ "airportsdata" ]; 24 25 meta = { 26 description = "Extensive database of location and timezone data for nearly every operational airport"; 27 homepage = "https://github.com/mborsetti/airportsdata/"; 28 changelog = "https://github.com/mborsetti/airportsdata/releases/tag/v${version}"; 29 license = lib.licenses.mit; 30 maintainers = with lib.maintainers; [ danieldk ]; 31 }; 32}