python312Packages.pynmeagps: 1.0.42 -> 1.0.43 (#347909)
This commit is contained in:
commit
7ce3789e8a
@ -3,32 +3,31 @@
|
|||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
|
pytest-cov-stub,
|
||||||
pythonOlder,
|
pythonOlder,
|
||||||
setuptools,
|
setuptools,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pynmeagps";
|
pname = "pynmeagps";
|
||||||
version = "1.0.42";
|
version = "1.0.43";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "semuconsulting";
|
owner = "semuconsulting";
|
||||||
repo = "pynmeagps";
|
repo = "pynmeagps";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-hlGqc4vZ/C98vQwJewK0cfC3zP9xyO0oXXtlyNUDg0Y=";
|
hash = "sha256-U5AI6iQiMvlCfL0SMAl0PkwC/orCr57royWvHKvWpAI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace pyproject.toml \
|
|
||||||
--replace-fail "--cov --cov-report html --cov-fail-under 98" ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
build-system = [ setuptools ];
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
nativeCheckInputs = [ pytestCheckHook ];
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
pytest-cov-stub
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "pynmeagps" ];
|
pythonImportsCheck = [ "pynmeagps" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user