11 buildPythonPackage rec {
16 disabled = pythonOlder "3.7";
19 inherit pname version;
20 hash = "sha256-Hap5uTJ5+IfRwjXlzFx54yZEVkE4zkaYmrD0ovyXDXw=";
24 # Removed depreciated imp and replaced with importlib, https://github.com/Knio/pynmea2/pull/164
26 name = "remove-imp.patch";
27 url = "https://github.com/Knio/pynmea2/commit/c56717b5e859e978ad3b52b8f826faa5d50489f8.patch";
28 hash = "sha256-jeFyfukT+0NLNxvNCxL7TzL/8oKmKOam5ZUIvjdvN/Q=";
32 build-system = [ setuptools ];
34 nativeCheckInputs = [ pytestCheckHook ];
36 pythonImportsCheck = [ "pynmea2" ];
39 description = "Python library for the NMEA 0183 protcol";
40 homepage = "https://github.com/Knio/pynmea2";
41 changelog = "https://github.com/Knio/pynmea2/releases/tag/${version}";
42 license = lib.licenses.mit;
43 maintainers = with lib.maintainers; [ oxzi ];