pythonPackages.easy-thumbnails: init at 2.4.1
This commit is contained in:
parent
c7031704f5
commit
0b2fc117c1
22
pkgs/development/python-modules/easy-thumbnails/default.nix
Normal file
22
pkgs/development/python-modules/easy-thumbnails/default.nix
Normal 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 ];
|
||||
}
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user