mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
ab8c049e63
And add an override for ansible_2_11 at 2.11.6.
25 lines
796 B
Nix
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";
|
|
}
|