Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / easy-thumbnails / default.nix
blob97afb19058f131287d16fe4203d2e3f3133d0a30
1 { lib
2 , buildPythonPackage
3 , django
4 , fetchPypi
5 , pillow
6 , pytestCheckHook
7 , pythonOlder
8 , reportlab
9 , svglib
12 buildPythonPackage rec {
13   pname = "easy-thumbnails";
14   version = "2.8.5";
15   format = "setuptools";
17   disabled = pythonOlder "3.6";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-fk6RJgn8m2Czof72VX7BXd+cT5RiZ6kuaSDf1N12XjU=";
22   };
24   propagatedBuildInputs = [
25     django
26     pillow
27     svglib
28     reportlab
29   ];
31   # Tests require a Django instance which is setup
32   doCheck = false;
34   pythonImportsCheck = [
35     "easy_thumbnails"
36   ];
38   meta = with lib; {
39     description = "Easy thumbnails for Django";
40     homepage = "https://github.com/SmileyChris/easy-thumbnails";
41     changelog = "https://github.com/SmileyChris/easy-thumbnails/blob/${version}/CHANGES.rst";
42     license = licenses.bsd3;
43     maintainers = with maintainers; [ ];
44   };