Files
nixpkgs/pkgs/development/python-modules/pynmeagps/default.nix
2025-10-04 22:18:55 +00:00

42 lines
883 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pytest-cov-stub,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "pynmeagps";
version = "1.0.54";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "semuconsulting";
repo = "pynmeagps";
tag = "v${version}";
hash = "sha256-EpEhojwsbvjZnz+V8mQ1H/g2RIfXR8hZPv3XI3OBVOg=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
pythonImportsCheck = [ "pynmeagps" ];
meta = {
description = "NMEA protocol parser and generator";
homepage = "https://github.com/semuconsulting/pynmeagps";
changelog = "https://github.com/semuconsulting/pynmeagps/releases/tag/${src.tag}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ dylan-gonzalez ];
};
}