mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
28 lines
830 B
Nix
28 lines
830 B
Nix
{ python3Packages, fetchurl }:
|
|
|
|
{
|
|
ansible = with python3Packages; toPythonApplication ansible;
|
|
|
|
ansible_2_7 = with python3Packages; toPythonApplication ansible;
|
|
|
|
ansible_2_6 = with python3Packages; toPythonApplication (ansible.overridePythonAttrs(old: rec {
|
|
pname = "ansible";
|
|
version = "2.6.9";
|
|
|
|
src = fetchurl {
|
|
url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz";
|
|
sha256 = "12mysvdavkypgmyms1wjq2974lk97w893k23i6khigxrjj6r85z1";
|
|
};
|
|
}));
|
|
|
|
ansible_2_5 = with python3Packages; toPythonApplication (ansible.overridePythonAttrs(old: rec {
|
|
pname = "ansible";
|
|
version = "2.5.14";
|
|
|
|
src = fetchurl {
|
|
url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz";
|
|
sha256 = "0sd04h2k5qv4m48dn76jkjlwlqfdk15hzyagj9i71r8brvmwhnk9";
|
|
};
|
|
}));
|
|
}
|