1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 00:54:46 +00:00
nixpkgs/pkgs/tools/admin/ansible/default.nix

20 lines
588 B
Nix
Raw Normal View History

2020-08-17 12:35:58 +01:00
{ python3Packages, fetchurl, fetchFromGitHub }:
2019-11-06 15:42:55 +00:00
rec {
2020-08-17 12:35:58 +01:00
ansible = ansible_2_10;
2021-05-12 03:39:05 +01:00
ansible_2_10 = python3Packages.toPythonApplication python3Packages.ansible-base;
2019-11-06 15:42:55 +00:00
ansible_2_9 = python3Packages.toPythonApplication python3Packages.ansible;
ansible_2_8 = python3Packages.toPythonApplication (python3Packages.ansible.overridePythonAttrs (old: rec {
2019-11-06 15:42:55 +00:00
pname = "ansible";
2020-08-11 16:50:47 +01:00
version = "2.8.14";
2019-11-06 15:42:55 +00:00
src = fetchurl {
url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz";
2020-08-11 16:50:47 +01:00
sha256 = "19ga0c9qs2b216qjg5k2yknz8ksjn8qskicqspg2d4b8x2nr1294";
2019-11-06 15:42:55 +00:00
};
}));
}