1{ lib, buildPythonPackage, fetchPypi, pytest }: 2 3buildPythonPackage rec { 4 pname = "pynmea2"; 5 version = "1.12.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "185wxn8gag9whxmysspbh8s7wn3sh1glgf508w2zzwi4lklryl7i"; 10 }; 11 12 checkInputs = [ pytest ]; 13 checkPhase = "pytest"; 14 15 meta = { 16 homepage = https://github.com/Knio/pynmea2; 17 description = "Python library for the NMEA 0183 protcol"; 18 license = lib.licenses.mit; 19 maintainers = with lib.maintainers; [ geistesk ]; 20 }; 21}