1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-03-06 23:31:34 +00:00
nixpkgs/pkgs/tools/admin/ansible/default.nix

38 lines
1.1 KiB
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-04-13 20:35:28 +01:00
version = "2.6.15";
2018-08-13 14:30:41 +01:00
src = fetchurl {
url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz";
2019-04-13 20:35:28 +01:00
sha256 = "1l4ji9sryfn0l651hy6cf5zqq8fpwi956c7qzjm4sihz5ps6wyhd";
};
}));
ansible_2_5 = with python3Packages; toPythonApplication (ansible.overridePythonAttrs(old: rec {
pname = "ansible";
2019-04-13 20:34:51 +01:00
version = "2.5.15";
src = fetchurl {
url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz";
2019-04-13 20:34:51 +01:00
sha256 = "1w9wfv1s2jq6vkx1hm6n69zwxv2pgjj7nidyg452miwh684jpg7z";
};
}));
}