38 lines
1.1 KiB
Nix
38 lines
1.1 KiB
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.10";
|
|
|
|
src = fetchurl {
|
|
url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz";
|
|
sha256 = "15721d0bxymghxnlnknq43lszlxg3ybbcp2p5v424hhw6wg2v944";
|
|
};
|
|
}));
|
|
|
|
ansible_2_6 = with python3Packages; toPythonApplication (ansible.overridePythonAttrs(old: rec {
|
|
pname = "ansible";
|
|
version = "2.6.15";
|
|
|
|
src = fetchurl {
|
|
url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz";
|
|
sha256 = "1l4ji9sryfn0l651hy6cf5zqq8fpwi956c7qzjm4sihz5ps6wyhd";
|
|
};
|
|
}));
|
|
|
|
ansible_2_5 = with python3Packages; toPythonApplication (ansible.overridePythonAttrs(old: rec {
|
|
pname = "ansible";
|
|
version = "2.5.15";
|
|
|
|
src = fetchurl {
|
|
url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz";
|
|
sha256 = "1w9wfv1s2jq6vkx1hm6n69zwxv2pgjj7nidyg452miwh684jpg7z";
|
|
};
|
|
}));
|
|
}
|