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