pythonPackages.easy-thumbnails: init at 2.4.1

This commit is contained in:
betaboon 2017-08-31 21:11:11 +02:00 committed by Frederik Rietdijk
parent c7031704f5
commit 0b2fc117c1
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,22 @@
{ lib, buildPythonPackage, fetchPypi,
django, pillow
}:
buildPythonPackage rec {
pname = "easy-thumbnails";
name = "${pname}-${version}";
version = "2.4.1";
meta = {
description = "Easy thumbnails for Django";
homepage = https://github.com/SmileyChris/easy-thumbnails;
license = lib.licenses.bsd3;
};
src = fetchPypi {
inherit pname version;
sha256 = "0w228b6hx8k4r15v7z62hyg99qp6xp4mdkgqs1ah64fyqxp1riaw";
};
propagatedBuildInputs = [ django pillow ];
}

View File

@ -5269,6 +5269,8 @@ in {
};
};
easy-thumbnails = callPackage ../development/python-modules/easy-thumbnails { };
eccodes = if (isPy27) then
(pkgs.eccodes.overrideAttrs (oldattrs: {
name = "${python.libPrefix}-" + oldattrs.name;