diff options
author | Shea Levy <shea@shealevy.com> | 2017-06-27 15:22:31 -0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2017-06-27 15:22:31 -0400 |
commit | 551dcb67831e480b15be2d54c96d84645a637820 (patch) | |
tree | 8b74b9bef55afdd17b58f534572b5e119e12a6cd /pkgs/development/python-modules/ansible | |
parent | 8dda321c1fb5d70883676a7035aeeedf9c3cf535 (diff) |
Add ansible 2.3
Diffstat (limited to 'pkgs/development/python-modules/ansible')
-rw-r--r-- | pkgs/development/python-modules/ansible/2.3.nix | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ansible/2.3.nix b/pkgs/development/python-modules/ansible/2.3.nix new file mode 100644 index 0000000000000..e5152029f8ff0 --- /dev/null +++ b/pkgs/development/python-modules/ansible/2.3.nix @@ -0,0 +1,50 @@ +{ lib +, fetchurl +, buildPythonPackage +, pycrypto +, paramiko +, jinja2 +, pyyaml +, httplib2 +, boto +, six +, netaddr +, dns +, windowsSupport ? false +, pywinrm ? null +}: + +buildPythonPackage rec { + pname = "ansible"; + version = "2.3.1.0"; + name = "${pname}-${version}"; + + + src = fetchurl { + url = "http://releases.ansible.com/ansible/${name}.tar.gz"; + sha256 = "1xdr82fy8gahxh3586wm5k1bxksys7yl1f2n24shrk8gf99qyjyd"; + }; + + prePatch = '' + sed -i "s,/usr/,$out," lib/ansible/constants.py + ''; + + doCheck = false; + dontStrip = true; + dontPatchELF = true; + dontPatchShebangs = false; + + propagatedBuildInputs = [ pycrypto paramiko jinja2 pyyaml httplib2 + boto six netaddr dns ] ++ lib.optional windowsSupport pywinrm; + + meta = { + homepage = "http://www.ansible.com"; + description = "A simple automation tool"; + license = with lib.licenses; [ gpl3] ; + maintainers = with lib.maintainers; [ + jgeerds + joamaki + ]; + platforms = with lib.platforms; linux ++ darwin; + }; +} |