depot/third_party/nixpkgs/pkgs/development/python-modules/django-versatileimagefield/default.nix
Default email d7dbe45cea Project import generated by Copybara.
GitOrigin-RevId: 9480bae337095fd24f61380bce3174fdfe926a00
2020-06-18 09:06:33 +02:00

32 lines
719 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, django
, python
, pillow
, python_magic
}:
buildPythonPackage rec {
pname = "django-versatileimagefield";
version = "1.11";
src = fetchPypi {
inherit pname version;
sha256 = "8322ee9d7bf5ffa5360990320d2cc2efc7017feff35422636d49f625721edf82";
};
propagatedBuildInputs = [ pillow python_magic ];
checkInputs = [ django ];
# tests not included with pypi release
doCheck = false;
meta = with stdenv.lib; {
description = "Replaces django's ImageField with a more flexible interface";
homepage = "https://github.com/respondcreate/django-versatileimagefield/";
license = licenses.mit;
maintainers = with maintainers; [ mmai ];
};
}