python3Packages.adsbcot: init at 9.0.1

This commit is contained in:
Nico Felbinger
2026-05-28 22:05:59 +02:00
parent c1e06b85d5
commit ddabbe15e7
2 changed files with 59 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
pytest-asyncio,
pytak,
aircot,
websockets,
}:
buildPythonPackage (finalAttrs: {
pname = "adsbcot";
version = "9.0.1";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "snstac";
repo = "adsbcot";
tag = "v${finalAttrs.version}";
hash = "sha256-pOSeWwNrqF4OGL/b6cz8W1+e+jz7ShmoF5WEcKl3y2E=";
};
build-system = [ setuptools ];
dependencies = [
pytak
aircot
websockets
];
pythonRelaxDeps = [ "websockets" ];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
];
disabledTests = [
# broken upstream, see https://github.com/snstac/adsbcot/issues/61
"test_adsb_to_cot_xml"
"test_adsb_to_cot_with_known_craft"
];
pythonImportsCheck = [ "adsbcot" ];
meta = {
description = "Display Aircraft in TAK - ADS-B to TAK Gateway";
homepage = "https://adsbcot.readthedocs.io";
changelog = "https://github.com/snstac/adsbcot/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ felbinger ];
platforms = lib.platforms.linux;
};
})

View File

@@ -116,6 +116,8 @@ self: super: with self; {
adlfs = callPackage ../development/python-modules/adlfs { };
adsbcot = callPackage ../development/python-modules/adsbcot { };
advantage-air = callPackage ../development/python-modules/advantage-air { };
aeidon = callPackage ../development/python-modules/aeidon { };