diff --git a/pkgs/development/python-modules/nibe/default.nix b/pkgs/development/python-modules/nibe/default.nix index 3d5d6cf6ac84..6dbb5898aebf 100644 --- a/pkgs/development/python-modules/nibe/default.nix +++ b/pkgs/development/python-modules/nibe/default.nix @@ -16,16 +16,16 @@ tenacity, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "nibe"; - version = "2.21.0"; + version = "2.22.0"; pyproject = true; src = fetchFromGitHub { owner = "yozik04"; repo = "nibe"; - tag = version; - hash = "sha256-I4Qgwdx5alkNso0FMz4wRWZffbDQm5VblmPdwtU/jXg="; + tag = finalAttrs.version; + hash = "sha256-mbLasfHPPrZvL+PheMutqvIiyQQoew7dGIPGekuk0Oo="; }; pythonRelaxDeps = [ "async-modbus" ]; @@ -53,15 +53,15 @@ buildPythonPackage rec { pytest-asyncio pytestCheckHook ] - ++ lib.concatAttrValues optional-dependencies; + ++ lib.flatten (builtins.attrValues finalAttrs.passthru.optional-dependencies); pythonImportsCheck = [ "nibe" ]; meta = { description = "Library for the communication with Nibe heatpumps"; homepage = "https://github.com/yozik04/nibe"; - changelog = "https://github.com/yozik04/nibe/releases/tag/${src.tag}"; + changelog = "https://github.com/yozik04/nibe/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ fab ]; }; -} +})