Merge pull request #4207 from joefiorini/patch-1
Allow ansible to install on darwin platforms
This commit is contained in:
commit
170a5bfe58
@ -1,13 +1,13 @@
|
|||||||
{ stdenv, fetchurl, pythonPackages, python }:
|
{ stdenv, fetchurl, pythonPackages, python }:
|
||||||
|
|
||||||
pythonPackages.buildPythonPackage rec {
|
pythonPackages.buildPythonPackage rec {
|
||||||
version = "1.6.10";
|
version = "1.7.1";
|
||||||
name = "ansible-${version}";
|
name = "ansible-${version}";
|
||||||
namePrefix = "";
|
namePrefix = "";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/ansible/ansible/archive/v${version}.tar.gz";
|
url = "http://releases.ansible.com/ansible/ansible-${version}.tar.gz";
|
||||||
sha256 = "0j133353skzb6ydrqqgfkzbkkj1zaibl1x8sgl0arnfma8qky1g1";
|
sha1 = "4f4be4d45f28f52e4ab0c063efb66c7b9f482a51";
|
||||||
};
|
};
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
@ -32,6 +32,6 @@ pythonPackages.buildPythonPackage rec {
|
|||||||
description = "A simple automation tool";
|
description = "A simple automation tool";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
maintainers = [ maintainers.joamaki ];
|
maintainers = [ maintainers.joamaki ];
|
||||||
platforms = platforms.linux; # Only tested on Linux
|
platforms = platforms.linux ++ [ "x86_64-darwin" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user