python3Packages.pymodes: init at 2.11 (#359536)

This commit is contained in:
Fabian Affolter 2024-11-28 08:37:41 +01:00 committed by GitHub
commit c929692827
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,50 @@
{
lib,
buildPythonPackage,
cython,
fetchFromGitHub,
hatchling,
numpy,
pytestCheckHook,
pythonOlder,
pyzmq,
setuptools,
}:
buildPythonPackage rec {
pname = "pymodes";
version = "2.19";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "junzis";
repo = "pyModeS";
rev = "refs/tags/v${version}";
hash = "sha256-rVxqtT/sBFQM2Y+GPR2Tc5J2skavvjxwPB7paDBqYRQ=";
};
build-system = [
cython
hatchling
setuptools
];
dependencies = [
numpy
pyzmq
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pyModeS" ];
meta = with lib; {
description = "Python Mode-S and ADS-B Decoder";
homepage = "https://github.com/junzis/pyModeS";
changelog = "https://github.com/junzis/pyModeS/releases/tag/v${version}";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ snicket2100 ];
};
}

View File

@ -13231,6 +13231,8 @@ self: super: with self; {
pyinfra = callPackage ../development/python-modules/pyinfra { };
pymodes = callPackage ../development/python-modules/pymodes { };
pytibber = callPackage ../development/python-modules/pytibber { };
pytile = callPackage ../development/python-modules/pytile { };