1{ lib, buildPythonPackage, fetchPypi, pytestCheckHook }: 2 3buildPythonPackage rec { 4 pname = "pynmea2"; 5 version = "1.19.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 hash = "sha256-Hap5uTJ5+IfRwjXlzFx54yZEVkE4zkaYmrD0ovyXDXw="; 10 }; 11 12 nativeCheckInputs = [ pytestCheckHook ]; 13 14 pythonImportsCheck = [ "pynmea2" ]; 15 16 meta = { 17 homepage = "https://github.com/Knio/pynmea2"; 18 description = "Python library for the NMEA 0183 protcol"; 19 license = lib.licenses.mit; 20 maintainers = with lib.maintainers; [ oxzi ]; 21 }; 22}