My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/django-versatileimagefield/default.nix

33 lines
750 B

{ lib
, buildPythonPackage
, fetchPypi
, django
, pillow
, python-magic
}:
buildPythonPackage rec {
pname = "django-versatileimagefield";
version = "2.2";
src = fetchPypi {
inherit pname version;
sha256 = "6569d5c3e13c69ab8912ba5100084aa5abcdcffb8d1f5abc085b226e7bbd65b3";
};
propagatedBuildInputs = [ pillow python-magic ];
checkInputs = [ django ];
# tests not included with pypi release
doCheck = false;
pythonImportsCheck = [ "versatileimagefield" ];
meta = with 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 ];
};
}