mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
30f2074503
Ansible 2.5 has reached EOL in May 21, 2019 https://access.redhat.com/support/policy/updates/ansible-engine
28 lines
831 B
Nix
28 lines
831 B
Nix
{ python3Packages, fetchurl }:
|
|
|
|
{
|
|
ansible = with python3Packages; toPythonApplication ansible;
|
|
|
|
ansible_2_8 = with python3Packages; toPythonApplication ansible;
|
|
|
|
ansible_2_7 = with python3Packages; toPythonApplication (ansible.overridePythonAttrs(old: rec {
|
|
pname = "ansible";
|
|
version = "2.7.11";
|
|
|
|
src = fetchurl {
|
|
url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz";
|
|
sha256 = "0zipzm9al6k74h88b6zkddpcbxqs4cms7lidid6wn1vx3d3dxrp7";
|
|
};
|
|
}));
|
|
|
|
ansible_2_6 = with python3Packages; toPythonApplication (ansible.overridePythonAttrs(old: rec {
|
|
pname = "ansible";
|
|
version = "2.6.17";
|
|
|
|
src = fetchurl {
|
|
url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz";
|
|
sha256 = "0ixr3g1nb02xblqyk87bzag8sj8phy37m24xflabfl1k2zfh0313";
|
|
};
|
|
}));
|
|
}
|