ansible_2_{1,2}: fix for jinja src change

This commit is contained in:
Robin Gloster 2017-12-26 20:14:12 +01:00
parent 46abd5f764
commit e16f887ec5
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF
2 changed files with 12 additions and 6 deletions

View File

@ -1,5 +1,6 @@
{ stdenv { stdenv
, fetchurl , fetchurl
, fetchFromGitHub
, pythonPackages , pythonPackages
, windowsSupport ? false , windowsSupport ? false
}: }:
@ -10,9 +11,11 @@ let
jinja = jinja2.overridePythonAttrs (old: rec { jinja = jinja2.overridePythonAttrs (old: rec {
version = "2.8.1"; version = "2.8.1";
name = "${old.pname}-${version}"; name = "${old.pname}-${version}";
src = old.src.override { src = fetchFromGitHub {
inherit version; owner = "pallets";
sha256 = "35341f3a97b46327b3ef1eb624aadea87a535b8f50863036e085e7c426ac5891"; repo = "jinja";
rev = version;
sha256 = "0m6g6fx6flxb6hrkw757mbx1gxyrmj50w27m2afdsvmvz0zpdi2a";
}; };
}); });
in buildPythonPackage rec { in buildPythonPackage rec {

View File

@ -1,5 +1,6 @@
{ stdenv { stdenv
, fetchurl , fetchurl
, fetchFromGitHub
, pythonPackages , pythonPackages
, windowsSupport ? false , windowsSupport ? false
}: }:
@ -12,9 +13,11 @@ let
jinja = jinja2.overridePythonAttrs (old: rec { jinja = jinja2.overridePythonAttrs (old: rec {
version = "2.8.1"; version = "2.8.1";
name = "${old.pname}-${version}"; name = "${old.pname}-${version}";
src = old.src.override { src = fetchFromGitHub {
inherit version; owner = "pallets";
sha256 = "35341f3a97b46327b3ef1eb624aadea87a535b8f50863036e085e7c426ac5891"; repo = "jinja";
rev = version;
sha256 = "0m6g6fx6flxb6hrkw757mbx1gxyrmj50w27m2afdsvmvz0zpdi2a";
}; };
}); });
in buildPythonPackage rec { in buildPythonPackage rec {