python312Packages.pynmeagps: refactor

- remove coverage

+19 -15
+19 -15
pkgs/development/python-modules/pynmeagps/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchFromGitHub 4 - , pytestCheckHook 5 - , setuptools 6 - , pytest-cov 7 }: 8 9 buildPythonPackage rec { ··· 11 version = "1.0.36"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "semuconsulting"; 16 repo = "pynmeagps"; ··· 18 hash = "sha256-n7dCr85TeBLxdrD1ZAA7PGJd9+3+xFJ8gjRU/JOFysY="; 19 }; 20 21 - nativeBuildInputs = [ setuptools ]; 22 23 - nativeCheckInputs = [ 24 - pytestCheckHook 25 - pytest-cov 26 - ]; 27 28 - pythonImportsCheck = [ 29 - "pynmeagps" 30 - ]; 31 32 meta = { 33 - homepage = "https://github.com/semuconsulting/pynmeagps"; 34 description = "NMEA protocol parser and generator"; 35 license = lib.licenses.bsd3; 36 maintainers = with lib.maintainers; [ dylan-gonzalez ]; 37 };
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + pytestCheckHook, 6 + pythonOlder, 7 + setuptools, 8 }: 9 10 buildPythonPackage rec { ··· 12 version = "1.0.36"; 13 pyproject = true; 14 15 + disabled = pythonOlder "3.8"; 16 + 17 src = fetchFromGitHub { 18 owner = "semuconsulting"; 19 repo = "pynmeagps"; ··· 21 hash = "sha256-n7dCr85TeBLxdrD1ZAA7PGJd9+3+xFJ8gjRU/JOFysY="; 22 }; 23 24 + postPatch = '' 25 + substituteInPlace pyproject.toml \ 26 + --replace-fail "--cov --cov-report html --cov-fail-under 95" "" 27 + ''; 28 + 29 + build-system = [ setuptools ]; 30 31 + nativeCheckInputs = [ pytestCheckHook ]; 32 33 + pythonImportsCheck = [ "pynmeagps" ]; 34 35 meta = { 36 description = "NMEA protocol parser and generator"; 37 + homepage = "https://github.com/semuconsulting/pynmeagps"; 38 + changelog = "https://github.com/semuconsulting/pynmeagps/releases/tag/v${version}"; 39 license = lib.licenses.bsd3; 40 maintainers = with lib.maintainers; [ dylan-gonzalez ]; 41 };