ansible: disable python 3 support

Python 3 is not supported by Ansible upstream, and trying to run
`nox-review` will not succeed if we don't explicitly disable it.
This commit is contained in:
Aaron Bull Schaefer 2016-05-27 15:28:43 -07:00
parent bda2d99e91
commit f669509e05

View file

@ -799,6 +799,7 @@ in modules // {
ansible = buildPythonPackage rec { ansible = buildPythonPackage rec {
version = "1.9.4"; version = "1.9.4";
name = "ansible-${version}"; name = "ansible-${version}";
disabled = isPy3k;
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "https://releases.ansible.com/ansible/${name}.tar.gz"; url = "https://releases.ansible.com/ansible/${name}.tar.gz";
@ -831,6 +832,7 @@ in modules // {
ansible2 = buildPythonPackage rec { ansible2 = buildPythonPackage rec {
version = "2.1.0.0"; version = "2.1.0.0";
name = "ansible-${version}"; name = "ansible-${version}";
disabled = isPy3k;
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "http://releases.ansible.com/ansible/${name}.tar.gz"; url = "http://releases.ansible.com/ansible/${name}.tar.gz";