python3Packages.pyworxcloud: migrate to finaAttrs
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
tzdata,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "pyworxcloud";
|
||||
version = "6.1.1";
|
||||
pyproject = true;
|
||||
@@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "MTrab";
|
||||
repo = "pyworxcloud";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-z2X0Sj+D9OcrL6tkqNo7pS6wqcmskf4IZENins9c+g4=";
|
||||
};
|
||||
|
||||
@@ -44,11 +44,11 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Module for integrating with Worx Cloud devices";
|
||||
homepage = "https://github.com/MTrab/pyworxcloud";
|
||||
changelog = "https://github.com/MTrab/pyworxcloud/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/MTrab/pyworxcloud/releases/tag/${finalAttrs.src.tag}";
|
||||
license = with lib.licenses; [
|
||||
gpl3Only
|
||||
mit
|
||||
];
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user