mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
python3Packages.easy-thumbnails: fix build
This commit is contained in:
parent
e4f2f91888
commit
8d39962f9b
@ -1,21 +1,44 @@
|
||||
{ lib, buildPythonPackage, fetchPypi,
|
||||
django, pillow
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, django
|
||||
, fetchPypi
|
||||
, pillow
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, reportlab
|
||||
, svglib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "easy-thumbnails";
|
||||
version = "2.8";
|
||||
format = "setuptools";
|
||||
|
||||
meta = {
|
||||
description = "Easy thumbnails for Django";
|
||||
homepage = "https://github.com/SmileyChris/easy-thumbnails";
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "fd2249d936671847fc54a2d6c8c87bcca8f803001967dd03bab6b8bcb7590825";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ django pillow ];
|
||||
propagatedBuildInputs = [
|
||||
django
|
||||
pillow
|
||||
svglib
|
||||
reportlab
|
||||
];
|
||||
|
||||
# Tests require a Django instance which is setup
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"easy_thumbnails"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Easy thumbnails for Django";
|
||||
homepage = "https://github.com/SmileyChris/easy-thumbnails";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user