ansible: 2.9.12 -> 2.10.9

This commit is contained in:
Martin Weinelt 2021-05-12 04:39:05 +02:00 committed by Jonathan Ringer
parent 95f3da5b6a
commit 5281ae97c2
3 changed files with 2 additions and 15 deletions

View file

@ -3,20 +3,7 @@
rec {
ansible = ansible_2_10;
# The python module stays at v2.9.x until the related package set has caught up. Therefore v2.10 gets an override
# for now.
ansible_2_10 = python3Packages.toPythonApplication (python3Packages.ansible.overridePythonAttrs (old: rec {
pname = "ansible";
version = "2.10.0";
# TODO: migrate to fetchurl, when release becomes available on releases.ansible.com
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "0k9rs5ajx0chaq0xr1cj4x7fr5n8kd4y856miss6k01iv2m7yx42";
};
}));
ansible_2_10 = python3Packages.toPythonApplication python3Packages.ansible-base;
ansible_2_9 = python3Packages.toPythonApplication python3Packages.ansible;

View file

@ -409,7 +409,7 @@ in {
ansi2html = callPackage ../development/python-modules/ansi2html { };
ansible = callPackage ../development/python-modules/ansible { };
ansible = callPackage ../development/python-modules/ansible/legacy.nix { };
ansible-base = callPackage ../development/python-modules/ansible/base.nix { };