diff --git a/pkgs/development/python-modules/pyotgw/default.nix b/pkgs/development/python-modules/pyotgw/default.nix index 75da8f07a351..876644f8719b 100644 --- a/pkgs/development/python-modules/pyotgw/default.nix +++ b/pkgs/development/python-modules/pyotgw/default.nix @@ -8,16 +8,16 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pyotgw"; - version = "2.2.2"; + version = "2.2.3"; pyproject = true; src = fetchFromGitHub { owner = "mvn23"; repo = "pyotgw"; - tag = version; - hash = "sha256-BQgRWXBSmB9AzpPeTJP7motJeKF2G0tyqJpbwIwnxwk="; + tag = finalAttrs.version; + hash = "sha256-0F+UBIPk+A9z0YJtLVlJAqzMre8GZAio720SCi2dorE="; }; build-system = [ setuptools ]; @@ -39,8 +39,8 @@ buildPythonPackage rec { meta = { description = "Python module to interact the OpenTherm Gateway"; homepage = "https://github.com/mvn23/pyotgw"; - changelog = "https://github.com/mvn23/pyotgw/blob/${version}/CHANGELOG.md"; - license = with lib.licenses; [ gpl3Plus ]; + changelog = "https://github.com/mvn23/pyotgw/blob/${finalAttrs.src.tag}/CHANGELOG.md"; + license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ fab ]; }; -} +})