mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-28 11:14:46 +00:00
Diff: https://github.com/mborsetti/airportsdata/compare/v20251008...v20260803 Changelog: https://github.com/mborsetti/airportsdata/releases/tag/v20260803
35 lines
837 B
Nix
35 lines
837 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "airportsdata";
|
|
version = "20260803";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mborsetti";
|
|
repo = "airportsdata";
|
|
tag = "v${version}";
|
|
hash = "sha256-5DoVSRfv6/vVhvSRPB95I2wEzUYBlhn9QXlN0EpHxE0=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|