Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 pytest-cov-stub, 7 pythonOlder, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "pynmeagps"; 13 version = "1.0.54"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.9"; 17 18 src = fetchFromGitHub { 19 owner = "semuconsulting"; 20 repo = "pynmeagps"; 21 tag = "v${version}"; 22 hash = "sha256-EpEhojwsbvjZnz+V8mQ1H/g2RIfXR8hZPv3XI3OBVOg="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 nativeCheckInputs = [ 28 pytestCheckHook 29 pytest-cov-stub 30 ]; 31 32 pythonImportsCheck = [ "pynmeagps" ]; 33 34 meta = { 35 description = "NMEA protocol parser and generator"; 36 homepage = "https://github.com/semuconsulting/pynmeagps"; 37 changelog = "https://github.com/semuconsulting/pynmeagps/releases/tag/${src.tag}"; 38 license = lib.licenses.bsd3; 39 maintainers = with lib.maintainers; [ dylan-gonzalez ]; 40 }; 41}