Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
885 B · 37 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "airportsdata"; version = "20250523"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "mborsetti"; repo = "airportsdata"; tag = "v${version}"; hash = "sha256-hqKyWyzBQgD9jB8PuflOsyZxSyU8geBVfBS/dgUsTAE="; };
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "airportsdata" ];
meta = { description = "Extensive database of location and timezone data for nearly every operational airport"; homepage = "https://github.com/mborsetti/airportsdata/"; changelog = "https://github.com/mborsetti/airportsdata/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ danieldk ]; };}