python314Packages.freebox-api: migrate to finalAttrs
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
urllib3,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "freebox-api";
|
||||
version = "1.3.0";
|
||||
pyproject = true;
|
||||
@@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "hacf-fr";
|
||||
repo = "freebox-api";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-3rmOIHneGUtaLw+0Z0UTKoCSoJs70KKLjDPi0gOtV6I=";
|
||||
};
|
||||
|
||||
@@ -36,9 +36,9 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Python module to interact with the Freebox OS API";
|
||||
homepage = "https://github.com/hacf-fr/freebox-api";
|
||||
changelog = "https://github.com/hacf-fr/freebox-api/releases/tag/v${version}";
|
||||
changelog = "https://github.com/hacf-fr/freebox-api/releases/tag/v${finalAttrs.src.tag}";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
mainProgram = "freebox_api";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user