587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
38 lines
741 B
Nix
38 lines
741 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, setuptools
|
|
, pytest-cov
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pynmeagps";
|
|
version = "1.0.35";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "semuconsulting";
|
|
repo = "pynmeagps";
|
|
rev = "v${version}";
|
|
hash = "sha256-ULGBfTHCFGUSF3cmJ4GEUrgGDo4uJwstBj8nZ7tj0AA=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
pytest-cov
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"pynmeagps"
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/semuconsulting/pynmeagps";
|
|
description = "NMEA protocol parser and generator";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ dylan-gonzalez ];
|
|
};
|
|
}
|