mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
410fdbada3
Went EOL 2019/11/06. https://access.redhat.com/support/policy/updates/ansible-engine
28 lines
829 B
Nix
28 lines
829 B
Nix
{ python3Packages, fetchurl }:
|
|
|
|
rec {
|
|
ansible = ansible_2_9;
|
|
|
|
ansible_2_9 = python3Packages.toPythonApplication python3Packages.ansible;
|
|
|
|
ansible_2_8 = python3Packages.toPythonApplication (python3Packages.ansible.overridePythonAttrs (old: rec {
|
|
pname = "ansible";
|
|
version = "2.8.12";
|
|
|
|
src = fetchurl {
|
|
url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz";
|
|
sha256 = "091id1da3hlnmf0hwvrhv2r0mnyna3mc6s7rwdg5kll7yfiy4k1a";
|
|
};
|
|
}));
|
|
|
|
ansible_2_7 = python3Packages.toPythonApplication (python3Packages.ansible.overridePythonAttrs (old: rec {
|
|
pname = "ansible";
|
|
version = "2.7.18";
|
|
|
|
src = fetchurl {
|
|
url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz";
|
|
sha256 = "0sgshaaqyjq3i035yi5hivmrrwrq05hxrbjrv1w3hfzmvljn41d1";
|
|
};
|
|
}));
|
|
}
|