diff --git a/pkgs/development/python-modules/nicegui/default.nix b/pkgs/development/python-modules/nicegui/default.nix index be6dc3bced7d..f7a4c6f45a3a 100644 --- a/pkgs/development/python-modules/nicegui/default.nix +++ b/pkgs/development/python-modules/nicegui/default.nix @@ -41,16 +41,16 @@ writableTmpDirAsHomeHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "nicegui"; - version = "3.4.1"; + version = "3.5.0"; pyproject = true; src = fetchFromGitHub { owner = "zauberzeug"; repo = "nicegui"; - tag = "v${version}"; - hash = "sha256-fZAGqFQQFLFi5jWlQb1SAQnAFEtt2C07vNZXfyUHIa0="; + tag = "v${finalAttrs.version}"; + hash = "sha256-4bIpQ6n6s6GgwAzDs6pPULNlwYqclNHvWlPOwJ5I5v4="; }; pythonRelaxDeps = [ "requests" ]; @@ -105,7 +105,7 @@ buildPythonPackage rec { webdriver-manager writableTmpDirAsHomeHook ] - ++ lib.concatAttrValues optional-dependencies; + ++ lib.flatten (builtins.attrValues finalAttrs.passthru.optional-dependencies); pythonImportsCheck = [ "nicegui" ]; @@ -115,8 +115,8 @@ buildPythonPackage rec { meta = { description = "Module to create web-based user interfaces"; homepage = "https://github.com/zauberzeug/nicegui/"; - changelog = "https://github.com/zauberzeug/nicegui/releases/tag/${src.tag}"; + changelog = "https://github.com/zauberzeug/nicegui/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})