diff --git a/pkgs/development/python-modules/renault-api/default.nix b/pkgs/development/python-modules/renault-api/default.nix index 6995d57601d2..35b5d5f0eb99 100644 --- a/pkgs/development/python-modules/renault-api/default.nix +++ b/pkgs/development/python-modules/renault-api/default.nix @@ -17,16 +17,16 @@ typeguard, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "renault-api"; - version = "0.5.2"; + version = "0.5.3"; pyproject = true; src = fetchFromGitHub { owner = "hacf-fr"; repo = "renault-api"; - tag = "v${version}"; - hash = "sha256-7ZvUg2Dgu9hSG1VXDT+YC6PBbylsR4d12ZR66UrPlyE="; + tag = "v${finalAttrs.version}"; + hash = "sha256-L5Ld6CyMapW2qX5YmExQzfWddQkQjSHgy7sz3OtL4TQ="; }; build-system = [ poetry-core ]; @@ -53,16 +53,16 @@ buildPythonPackage rec { syrupy typeguard ] - ++ lib.concatAttrValues optional-dependencies; + ++ lib.flatten (builtins.attrValues finalAttrs.passthru.optional-dependencies); pythonImportsCheck = [ "renault_api" ]; meta = { description = "Python library to interact with the Renault API"; homepage = "https://github.com/hacf-fr/renault-api"; - changelog = "https://github.com/hacf-fr/renault-api/releases/tag/v${version}"; + changelog = "https://github.com/hacf-fr/renault-api/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; mainProgram = "renault-api"; }; -} +})