depot/third_party/nixpkgs/pkgs/development/python-modules/pynmeagps/default.nix

42 lines
894 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pytest-cov-stub,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "pynmeagps";
version = "1.0.43";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "semuconsulting";
repo = "pynmeagps";
rev = "refs/tags/v${version}";
hash = "sha256-U5AI6iQiMvlCfL0SMAl0PkwC/orCr57royWvHKvWpAI=";
};
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/v${version}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ dylan-gonzalez ];
};
}