diff --git a/pkgs/development/python-modules/frigidaire/default.nix b/pkgs/development/python-modules/frigidaire/default.nix index 6e81fdf5ed20..1b0403ec49ba 100644 --- a/pkgs/development/python-modules/frigidaire/default.nix +++ b/pkgs/development/python-modules/frigidaire/default.nix @@ -10,21 +10,21 @@ urllib3, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "frigidaire"; - version = "0.18.28"; + version = "0.18.29"; pyproject = true; src = fetchFromGitHub { owner = "bm1549"; repo = "frigidaire"; - tag = version; - hash = "sha256-2VleZyisva2HQPDmPoZbxnYu3t1S/HTuaZtFWFiU1nU="; + tag = finalAttrs.version; + hash = "sha256-OVaXo1UFB0deCHfDXR+uUnIsPsW6RhE/OJLG1WD4Ykg="; }; postPatch = '' substituteInPlace setup.py \ - --replace-warn 'version = "SNAPSHOT"' 'version = "${version}"' + --replace-warn 'version = "SNAPSHOT"' 'version = "${finalAttrs.version}"' ''; nativeBuildInputs = [ setuptools ]; @@ -45,8 +45,8 @@ buildPythonPackage rec { meta = { description = "Python API for the Frigidaire devices"; homepage = "https://github.com/bm1549/frigidaire"; - changelog = "https://github.com/bm1549/frigidaire/releases/tag/${src.tag}"; + changelog = "https://github.com/bm1549/frigidaire/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})