python312Packages.dash-renderer: remove (#369714)
[NixPkgs.git] / pkgs / development / python-modules / django-versatileimagefield / default.nix
blob3545f011407c2e88fdbbc0494df7e5fdd9dde563
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   django,
6   pillow,
7   python-magic,
8 }:
10 buildPythonPackage rec {
11   pname = "django-versatileimagefield";
12   version = "3.1";
13   format = "setuptools";
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-M5DiAEgJjol78pmwNgdj0QzQiWZbeu+OupAO7Lrq0Ng=";
18   };
19   propagatedBuildInputs = [
20     pillow
21     python-magic
22   ];
24   nativeCheckInputs = [ django ];
26   # tests not included with pypi release
27   doCheck = false;
29   pythonImportsCheck = [ "versatileimagefield" ];
31   meta = with lib; {
32     description = "Replaces django's ImageField with a more flexible interface";
33     homepage = "https://github.com/respondcreate/django-versatileimagefield/";
34     license = licenses.mit;
35     maintainers = with maintainers; [ mmai ];
36   };