1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/tools/admin/ansible/default.nix

28 lines
831 B
Nix
Raw Normal View History

{ python3Packages, fetchurl }:
{
ansible = with python3Packages; toPythonApplication ansible;
2019-05-18 09:59:35 +01:00
ansible_2_8 = with python3Packages; toPythonApplication ansible;
ansible_2_7 = with python3Packages; toPythonApplication (ansible.overridePythonAttrs(old: rec {
pname = "ansible";
2019-06-09 02:58:05 +01:00
version = "2.7.11";
2019-05-18 09:59:35 +01:00
src = fetchurl {
url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz";
2019-06-09 02:58:05 +01:00
sha256 = "0zipzm9al6k74h88b6zkddpcbxqs4cms7lidid6wn1vx3d3dxrp7";
2019-05-18 09:59:35 +01:00
};
}));
ansible_2_6 = with python3Packages; toPythonApplication (ansible.overridePythonAttrs(old: rec {
pname = "ansible";
2019-06-09 03:02:30 +01:00
version = "2.6.17";
2018-08-13 14:30:41 +01:00
src = fetchurl {
url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz";
2019-06-09 03:02:30 +01:00
sha256 = "0ixr3g1nb02xblqyk87bzag8sj8phy37m24xflabfl1k2zfh0313";
};
}));
}