forked from mirrors/nixpkgs
pythonPackages.ansible_2_2: use jinja2 2.8.1
This commit is contained in:
parent
201a0fe403
commit
8b3db9a0dd
|
@ -13,7 +13,19 @@
|
|||
, pywinrm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
let
|
||||
# Shouldn't be needed anymore in next version
|
||||
# https://github.com/NixOS/nixpkgs/pull/22345#commitcomment-20718521
|
||||
jinja = (jinja2.override rec {
|
||||
pname = "Jinja2";
|
||||
version = "2.8.1";
|
||||
name = "${pname}-${version}";
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/J/Jinja2/${name}.tar.gz";
|
||||
sha256 = "35341f3a97b46327b3ef1eb624aadea87a535b8f50863036e085e7c426ac5891";
|
||||
};
|
||||
});
|
||||
in buildPythonPackage rec {
|
||||
pname = "ansible";
|
||||
version = "2.2.1.0";
|
||||
name = "${pname}-${version}";
|
||||
|
@ -34,7 +46,7 @@ buildPythonPackage rec {
|
|||
dontPatchShebangs = false;
|
||||
windowsSupport = true;
|
||||
|
||||
propagatedBuildInputs = [ pycrypto paramiko jinja2 pyyaml httplib2
|
||||
propagatedBuildInputs = [ pycrypto paramiko jinja pyyaml httplib2
|
||||
boto six netaddr dns ] ++ lib.optional windowsSupport pywinrm;
|
||||
|
||||
meta = {
|
||||
|
@ -47,4 +59,4 @@ buildPythonPackage rec {
|
|||
];
|
||||
platforms = with lib.platforms; linux ++ darwin;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue