ansible_2_2/ansible_2_1: switch to overrideDerivation for jinja2

This commit is contained in:
Jörg Thalheim 2017-08-28 11:50:38 +01:00 committed by Frederik Rietdijk
parent c1dea51fa1
commit 8d015553d5
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@
with pythonPackages; with pythonPackages;
let let
jinja = jinja2.override rec { jinja = jinja2.overrideDerivation (old: rec {
pname = "Jinja2"; pname = "Jinja2";
version = "2.8.1"; version = "2.8.1";
name = "${pname}-${version}"; name = "${pname}-${version}";
@ -15,7 +15,7 @@ let
url = "mirror://pypi/J/Jinja2/${name}.tar.gz"; url = "mirror://pypi/J/Jinja2/${name}.tar.gz";
sha256 = "35341f3a97b46327b3ef1eb624aadea87a535b8f50863036e085e7c426ac5891"; sha256 = "35341f3a97b46327b3ef1eb624aadea87a535b8f50863036e085e7c426ac5891";
}; };
}; });
in buildPythonPackage rec { in buildPythonPackage rec {
pname = "ansible"; pname = "ansible";

View File

@ -9,7 +9,7 @@ with pythonPackages;
let let
# Shouldn't be needed anymore in next version # Shouldn't be needed anymore in next version
# https://github.com/NixOS/nixpkgs/pull/22345#commitcomment-20718521 # https://github.com/NixOS/nixpkgs/pull/22345#commitcomment-20718521
jinja = (jinja2.override rec { jinja = jinja2.overrideDerivation (old: rec {
pname = "Jinja2"; pname = "Jinja2";
version = "2.8.1"; version = "2.8.1";
name = "${pname}-${version}"; name = "${pname}-${version}";