nixpkgs/pkgs/tools/admin/ansible/default.nix
Martin Weinelt ab8c049e63
python3Packages.ansible-core: 2.11.6 -> 2.12.0
And add an override for ansible_2_11 at 2.11.6.
2021-11-09 12:30:26 +01:00

25 lines
796 B
Nix

{ python3Packages, fetchFromGitHub }:
rec {
ansible = ansible_2_12;
ansible_2_12 = python3Packages.toPythonApplication python3Packages.ansible-core;
ansible_2_11 = python3Packages.toPythonApplication (python3Packages.ansible-core.overridePythonAttrs (old: rec {
pname = "ansible-core";
version = "2.11.6";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "sha256-k9UCg8fFtHbev4PcCJs/Z5uTmouae11ijSjar7s9MDo=";
};
}));
ansible_2_10 = python3Packages.toPythonApplication python3Packages.ansible-base;
# End of support 2021/10/02, End of life 2021/12/31
ansible_2_9 = python3Packages.toPythonApplication python3Packages.ansible;
ansible_2_8 = throw "Ansible 2.8 went end of life on 2021/01/03 and has subsequently been dropped";
}