diff --git a/pkgs/development/python-modules/ansible/core.nix b/pkgs/development/python-modules/ansible/core.nix index 8d47672ed5f9..2851cef8ca6c 100644 --- a/pkgs/development/python-modules/ansible/core.nix +++ b/pkgs/development/python-modules/ansible/core.nix @@ -30,9 +30,9 @@ extraPackages ? _: [ ], }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "ansible-core"; - version = "2.20.0"; + version = "2.20.3"; pyproject = true; disabled = pythonOlder "3.12"; @@ -40,8 +40,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "ansible"; repo = "ansible"; - tag = "v${version}"; - hash = "sha256-4kTBzDHDfdHR/W4edxrGtWhg6TRLMtdEgUZYcn8cFQg="; + tag = "v${finalAttrs.version}"; + hash = "sha256-WLfLbQYYJOdMHApNnFZYiET4es3z2SeeLP0jbrFqxrU="; }; # ansible_connection is already wrapped, so don't pass it through @@ -102,7 +102,7 @@ buildPythonPackage rec { doCheck = false; meta = { - changelog = "https://github.com/ansible/ansible/blob/v${version}/changelogs/CHANGELOG-v${lib.versions.majorMinor version}.rst"; + changelog = "https://github.com/ansible/ansible/blob/v${finalAttrs.version}/changelogs/CHANGELOG-v${lib.versions.majorMinor finalAttrs.version}.rst"; description = "Radically simple IT automation"; homepage = "https://www.ansible.com"; license = lib.licenses.gpl3Plus; @@ -111,4 +111,4 @@ buildPythonPackage rec { robsliwi ]; }; -} +})