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

View File

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