python3Packages.zeversolar: migrate to finalAttrs
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user