about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pynmeagps/default.nix
blob: 7791bb13f315eb184a82bd8b5f926a7dc152d4c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, setuptools
, pytest-cov
}:

buildPythonPackage rec {
  pname = "pynmeagps";
  version = "1.0.35";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "semuconsulting";
    repo = "pynmeagps";
    rev = "v${version}";
    hash = "sha256-ULGBfTHCFGUSF3cmJ4GEUrgGDo4uJwstBj8nZ7tj0AA=";
  };

  nativeBuildInputs = [ setuptools ];

  nativeCheckInputs = [
    pytestCheckHook
    pytest-cov
  ];

  pythonImportsCheck = [
    "pynmeagps"
  ];

  meta = {
    homepage = "https://github.com/semuconsulting/pynmeagps";
    description = "NMEA protocol parser and generator";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ dylan-gonzalez ];
  };
}