python314Packages.pynmeagps: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-02-02 02:56:34 +01:00
committed by GitHub
parent c1322cd48e
commit 37a3b16bb8
@@ -7,7 +7,7 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "pynmeagps";
version = "1.1.0";
pyproject = true;
@@ -15,7 +15,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "semuconsulting";
repo = "pynmeagps";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-M35rD12PQIShNvty0AqclNIySMHee9ik9sX4ytWm3EQ=";
};
@@ -31,8 +31,8 @@ buildPythonPackage rec {
meta = {
description = "NMEA protocol parser and generator";
homepage = "https://github.com/semuconsulting/pynmeagps";
changelog = "https://github.com/semuconsulting/pynmeagps/releases/tag/${src.tag}";
changelog = "https://github.com/semuconsulting/pynmeagps/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ dylan-gonzalez ];
};
}
})