ansible: 2.9.12 -> 2.10.0

This commit is contained in:
Martin Weinelt 2020-08-17 13:35:58 +02:00 committed by Jon
parent 7ab4ee9613
commit 38b7da9144
2 changed files with 19 additions and 3 deletions

View file

@ -1,7 +1,22 @@
{ python3Packages, fetchurl }:
{ python3Packages, fetchurl, fetchFromGitHub }:
rec {
ansible = ansible_2_9;
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_9 = python3Packages.toPythonApplication python3Packages.ansible;

View file

@ -10264,7 +10264,8 @@ in
ansible
ansible_2_7
ansible_2_8
ansible_2_9;
ansible_2_9
ansible_2_10;
ansible-lint = with python3.pkgs; toPythonApplication ansible-lint;