python314Packages.python-roborock: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-02-04 11:50:17 -08:00
committed by Robert Schütz
parent 292bc95bd5
commit e0fdf4bc8c
@@ -21,7 +21,7 @@
syrupy,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "python-roborock";
version = "4.8.0";
pyproject = true;
@@ -29,7 +29,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "Python-roborock";
repo = "python-roborock";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-eOvadiJ0zLwCJDK22qb/ZPsNi+d6lI5+lzn05EHWB7I=";
};
@@ -65,9 +65,9 @@ buildPythonPackage rec {
meta = {
description = "Python library & console tool for controlling Roborock vacuum";
homepage = "https://github.com/Python-roborock/python-roborock";
changelog = "https://github.com/Python-roborock/python-roborock/blob/${src.tag}/CHANGELOG.md";
changelog = "https://github.com/Python-roborock/python-roborock/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "roborock";
};
}
})