tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.pynmea2: refactor
Fabian Affolter
2 years ago
c09e7c46
27851edc
+22
-5
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
pynmea2
default.nix
+22
-5
pkgs/development/python-modules/pynmea2/default.nix
···
1
1
-
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook }:
1
1
+
{ lib
2
2
+
, buildPythonPackage
3
3
+
, fetchPypi
4
4
+
, pytestCheckHook
5
5
+
, setuptools
6
6
+
, pythonOlder
7
7
+
}:
2
8
3
9
buildPythonPackage rec {
4
10
pname = "pynmea2";
5
11
version = "1.19.0";
6
6
-
format = "setuptools";
12
12
+
pyproject = true;
13
13
+
14
14
+
disabled = pythonOlder "3.7";
7
15
8
16
src = fetchPypi {
9
17
inherit pname version;
10
18
hash = "sha256-Hap5uTJ5+IfRwjXlzFx54yZEVkE4zkaYmrD0ovyXDXw=";
11
19
};
12
20
13
13
-
nativeCheckInputs = [ pytestCheckHook ];
21
21
+
build-system = [
22
22
+
setuptools
23
23
+
];
24
24
+
25
25
+
nativeCheckInputs = [
26
26
+
pytestCheckHook
27
27
+
];
14
28
15
15
-
pythonImportsCheck = [ "pynmea2" ];
29
29
+
pythonImportsCheck = [
30
30
+
"pynmea2"
31
31
+
];
16
32
17
33
meta = {
34
34
+
description = "Python library for the NMEA 0183 protcol";
18
35
homepage = "https://github.com/Knio/pynmea2";
19
19
-
description = "Python library for the NMEA 0183 protcol";
36
36
+
changelog = "https://github.com/Knio/pynmea2/releases/tag/${version}";
20
37
license = lib.licenses.mit;
21
38
maintainers = with lib.maintainers; [ oxzi ];
22
39
};