python3Packages.wagtail: fix package

This commit is contained in:
Sylvain Fankhauser 2024-04-06 10:52:07 +02:00
parent a24d6aca4d
commit 70b940febc
No known key found for this signature in database
GPG Key ID: 4228AB9EC0612ADA
1 changed files with 4 additions and 5 deletions

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