mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
python312Packages.pynmea2: refactor
This commit is contained in:
parent
27851edc9d
commit
c09e7c4629
|
@ -1,22 +1,39 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, setuptools
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pynmea2";
|
||||
version = "1.19.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Hap5uTJ5+IfRwjXlzFx54yZEVkE4zkaYmrD0ovyXDXw=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pynmea2" ];
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pynmea2"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/Knio/pynmea2";
|
||||
description = "Python library for the NMEA 0183 protcol";
|
||||
homepage = "https://github.com/Knio/pynmea2";
|
||||
changelog = "https://github.com/Knio/pynmea2/releases/tag/${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ oxzi ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue