diff --git a/pkgs/development/python-modules/celery/default.nix b/pkgs/development/python-modules/celery/default.nix index d44dadbff007..2d76c8c237c3 100644 --- a/pkgs/development/python-modules/celery/default.nix +++ b/pkgs/development/python-modules/celery/default.nix @@ -51,16 +51,16 @@ withAmqpRepl ? false, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "celery"; - version = "5.6.2"; + version = "5.6.3"; pyproject = true; src = fetchFromGitHub { owner = "celery"; repo = "celery"; - tag = "v${version}"; - hash = "sha256-S84hLGwVVgxnUB6wnqU58tN56t/tQ79ZUni/iP5sx94="; + tag = "v${finalAttrs.version}"; + hash = "sha256-5YPM8/AnCSjeDDMQ30kTNjPr6QdlUiqzzBadtmjqoNg="; }; patches = lib.optionals (!withAmqpRepl) [ @@ -157,7 +157,7 @@ buildPythonPackage rec { pytest-xdist pytestCheckHook ] - ++ lib.concatAttrValues optional-dependencies; + ++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies; disabledTestPaths = [ # test_eventlet touches network @@ -212,9 +212,9 @@ buildPythonPackage rec { meta = { description = "Distributed task queue"; homepage = "https://github.com/celery/celery/"; - changelog = "https://github.com/celery/celery/blob/${src.tag}/Changelog.rst"; + changelog = "https://github.com/celery/celery/blob/${finalAttrs.src.tag}/Changelog.rst"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ fab ]; mainProgram = "celery"; }; -} +})