mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
39 lines
835 B
Nix
39 lines
835 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
pytest-cov-stub,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pynmeagps";
|
|
version = "1.0.57";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "semuconsulting";
|
|
repo = "pynmeagps";
|
|
tag = "v${version}";
|
|
hash = "sha256-aFB0L2d/2LzDCS5ZbY1/NetDdiuGiwrgqlDyCAv6lV0=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|