python3Packages.zeversolar: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-06-02 23:42:38 +02:00
committed by GitHub
parent 6e07fe14a0
commit 02c87c7733
@@ -9,7 +9,7 @@
retry2,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "zeversolar";
version = "0.4.0";
pyproject = true;
@@ -17,7 +17,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "kvanzuijlen";
repo = "zeversolar";
tag = version;
tag = finalAttrs.version;
hash = "sha256-6hAvZL4PbtuFnDXRrVeYuylR9SIZ9B46CA0Ms/w4Y24=";
};
@@ -38,8 +38,8 @@ buildPythonPackage rec {
meta = {
description = "Module to interact with the local CGI provided by ZeverSolar";
homepage = "https://github.com/kvanzuijlen/zeversolar";
changelog = "https://github.com/kvanzuijlen/zeversolar/releases/tag/${version}";
changelog = "https://github.com/kvanzuijlen/zeversolar/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}
})