python3Packages.pywaze: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-03-17 20:06:36 +01:00
committed by Sandro Jäckel
parent 66efe17c8e
commit 5ffe2d3256
@@ -10,7 +10,7 @@
respx,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "pywaze";
version = "1.2.0";
pyproject = true;
@@ -18,7 +18,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "eifinger";
repo = "pywaze";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-yhECJORKVM8R/+CjhSTwgtCPeQ8QwIuG3EZHmtjVkX0=";
};
@@ -38,8 +38,8 @@ buildPythonPackage rec {
meta = {
description = "Module for calculating WAZE routes and travel times";
homepage = "https://github.com/eifinger/pywaze";
changelog = "https://github.com/eifinger/pywaze/releases/tag/v${version}";
changelog = "https://github.com/eifinger/pywaze/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})