forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.nix
More file actions
41 lines (34 loc) · 883 Bytes
/
default.nix
File metadata and controls
41 lines (34 loc) · 883 Bytes
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
39
40
41
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pytest-cov-stub,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "pynmeagps";
version = "1.0.50";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "semuconsulting";
repo = "pynmeagps";
tag = "v${version}";
hash = "sha256-ApZoltkqbbBVqbVouLNJj80FlQhAJIf2qCiGLgwrZbk=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
pythonImportsCheck = [ "pynmeagps" ];
meta = {
description = "NMEA protocol parser and generator";
homepage = "https://github.com/semuconsulting/pynmeagps";
changelog = "https://github.com/semuconsulting/pynmeagps/releases/tag/${src.tag}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ dylan-gonzalez ];
};
}