python3Packages.django-filer: init at 3.2.3

This commit is contained in:
Jonas Heinrich 2024-10-27 18:14:59 +01:00
parent 7516bbce81
commit ddbf22f69c
2 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,60 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
django,
pythonOlder,
pytestCheckHook,
django-polymorphic,
setuptools,
python,
easy-thumbnails,
pillow-heif,
django-app-helper,
distutils,
}:
buildPythonPackage rec {
pname = "django-filer";
version = "3.2.3";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "django-cms";
repo = "django-filer";
rev = "refs/tags/${version}";
hash = "sha256-PoUBnfNymighCsGoJE+iu31lxA9wqVXimFPCytQtPLg=";
};
build-system = [ setuptools ];
dependencies = [
django
django-polymorphic
easy-thumbnails
];
optional-dependencies = {
heif = [ pillow-heif ];
};
checkInputs = [
distutils
django-app-helper
];
checkPhase = ''
runHook preCheck
${python.interpreter} tests/settings.py
runHook postCheck
'';
meta = {
description = "File management application for Django";
homepage = "https://github.com/django-cms/django-filer";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.onny ];
};
}

View File

@ -3415,6 +3415,8 @@ self: super: with self; {
django-extensions = callPackage ../development/python-modules/django-extensions { };
django-filer = callPackage ../development/python-modules/django-filer { };
django-filter = callPackage ../development/python-modules/django-filter { };
django-formtools = callPackage ../development/python-modules/django-formtools { };