python312Packages.airportsdata: 20250224 -> 20250523 (#411407)

Changed files
+10 -5
pkgs
development
python-modules
airportsdata
+10 -5
pkgs/development/python-modules/airportsdata/default.nix
···
{
lib,
buildPythonPackage,
-
fetchPypi,
pythonOlder,
setuptools,
}:
···
disabled = pythonOlder "3.9";
-
src = fetchPypi {
-
inherit pname version;
-
hash = "sha256-eODrcu/M1jvaLezxxuwKjh066DEnZKhbqlZJZgfI894=";
};
build-system = [ setuptools ];
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/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ danieldk ];
};
···
{
lib,
buildPythonPackage,
+
fetchFromGitHub,
+
pytestCheckHook,
pythonOlder,
setuptools,
}:
···
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 ];
};