diff --git a/pkgs/development/python-modules/freebox-api/default.nix b/pkgs/development/python-modules/freebox-api/default.nix index 6bd35c71d50e..627126bbd205 100644 --- a/pkgs/development/python-modules/freebox-api/default.nix +++ b/pkgs/development/python-modules/freebox-api/default.nix @@ -8,16 +8,16 @@ urllib3, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "freebox-api"; - version = "1.2.2"; + version = "1.3.0"; pyproject = true; src = fetchFromGitHub { owner = "hacf-fr"; repo = "freebox-api"; - tag = "v${version}"; - hash = "sha256-piPC3F63Yqk1rYPYyIoEHSpC8TS4HyIVa8XbQlAgcqA="; + tag = "v${finalAttrs.version}"; + hash = "sha256-3rmOIHneGUtaLw+0Z0UTKoCSoJs70KKLjDPi0gOtV6I="; }; build-system = [ poetry-core ]; @@ -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"; }; -} +})