python313Packages.goodwe: migrate to finalAttrs
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "goodwe";
|
||||
version = "0.4.9";
|
||||
pyproject = true;
|
||||
@@ -14,7 +14,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "marcelblijleven";
|
||||
repo = "goodwe";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-WHLvfAlwhcA0JFSWfwUPsJ9dWmadIjyonXEP3Bb6WKE=";
|
||||
};
|
||||
|
||||
@@ -27,8 +27,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Python library for connecting to GoodWe inverter";
|
||||
homepage = "https://github.com/marcelblijleven/goodwe";
|
||||
changelog = "https://github.com/marcelblijleven/goodwe/releases/tag/v${version}";
|
||||
changelog = "https://github.com/marcelblijleven/goodwe/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user