diff --git a/pkgs/development/python-modules/pynmea2/default.nix b/pkgs/development/python-modules/pynmea2/default.nix new file mode 100644 index 000000000000..c217e8406e12 --- /dev/null +++ b/pkgs/development/python-modules/pynmea2/default.nix @@ -0,0 +1,21 @@ +{ lib, buildPythonPackage, fetchPypi, pytest }: + +buildPythonPackage rec { + pname = "pynmea2"; + version = "1.12.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "185wxn8gag9whxmysspbh8s7wn3sh1glgf508w2zzwi4lklryl7i"; + }; + + checkInputs = [ pytest ]; + checkPhase = "pytest"; + + meta = { + homepage = https://github.com/Knio/pynmea2; + description = "Python library for the NMEA 0183 protcol"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ geistesk ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9349cc3711ae..6f595f27bffd 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -11262,6 +11262,8 @@ in { inherit (pkgs) fetchurl systemd; }; + pynmea2 = callPackage ../development/python-modules/pynmea2 {}; + pynzb = buildPythonPackage (rec { name = "pynzb-0.1.0";