ansible_2_9: init at 2.9.2

This commit is contained in:
Jonathan Ringer 2019-11-06 07:42:55 -08:00 committed by Jon
parent 5bd4028bdc
commit 99eb9231d4
3 changed files with 18 additions and 6 deletions

View file

@ -18,13 +18,13 @@
buildPythonPackage rec {
pname = "ansible";
version = "2.8.7";
version = "2.9.2";
src = fetchFromGitHub {
owner = "ansible";
repo = "ansible";
rev = "v${version}";
sha256 = "08vqjk85j0g1x0iad03d7ysws433dikii8j2lr3a1mlx6d186vv8";
sha256 = "06vxvn5q13rxzndwzq3g6yxiqm361ma9zcvwbrfn630xkmsg4pd8";
};
prePatch = ''

View file

@ -1,9 +1,19 @@
{ python3Packages, fetchurl }:
{
ansible = with python3Packages; toPythonApplication ansible;
rec {
ansible = ansible_2_8;
ansible_2_8 = with python3Packages; toPythonApplication ansible;
ansible_2_9 = python3Packages.toPythonApplication python3Packages.ansible;
ansible_2_8 = with python3Packages; toPythonApplication (python3Packages.ansible.overrideAttrs(old: rec {
pname = "ansible";
version = "2.8.6";
src = fetchurl {
url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz";
sha256 = "0mg3pj9bs9xg3sks2mbdyba9x191d88vavkbr3l264fnr4kkn81i";
};
}));
ansible_2_7 = with python3Packages; toPythonApplication (ansible.overridePythonAttrs(old: rec {
pname = "ansible";

View file

@ -9653,7 +9653,9 @@ in
inherit (callPackage ../tools/admin/ansible { })
ansible
ansible_2_6
ansible_2_7;
ansible_2_7
ansible_2_8
ansible_2_9;
ansible-lint = with python3.pkgs; toPythonApplication ansible-lint;