Merge pull request #302047 from sephii/wagtail-laces

This commit is contained in:
Sandro 2024-04-06 11:56:59 +02:00 committed by GitHub
commit 3112cd993d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,6 +13,7 @@
, fetchPypi
, html5lib
, l18n
, laces
, openpyxl
, permissionedforms
, pillow
@ -27,7 +28,7 @@ buildPythonPackage rec {
version = "6.0.1";
format = "setuptools";
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
@ -36,10 +37,7 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace setup.py \
--replace "beautifulsoup4>=4.8,<4.12" "beautifulsoup4>=4.8" \
--replace "draftjs_exporter>=2.1.5,<3.0" "draftjs_exporter>=2.1.5,<6.0" \
--replace "django-taggit>=2.0,<5.0" "django-taggit>=2.0,<6.0" \
--replace "Willow[heif]>=1.6.2,<1.7" "Willow[heif]>=1.6.2,<2"
--replace "django-filter>=23.3,<24" "django-filter>=23.3,<24.3"
'';
propagatedBuildInputs = [
@ -54,6 +52,7 @@ buildPythonPackage rec {
draftjs-exporter
html5lib
l18n
laces
openpyxl
permissionedforms
pillow