python3Packages.hyperkitty: fix mistune imports for mistune >= 2.0.0

main
Nikolay Korotkiy 2 years ago
parent 1eb2f3f676
commit 343e96c0cc
No known key found for this signature in database
GPG Key ID: D1DE6D7F693663A5
  1. 3
      pkgs/servers/mail/mailman/hyperkitty.nix

@ -43,6 +43,9 @@ buildPythonPackage rec {
postPatch = ''
# isort is a development dependency
sed -i '/isort/d' setup.py
# Fix mistune imports for mistune >= 2.0.0
# https://gitlab.com/mailman/hyperkitty/-/merge_requests/379
sed -i 's/mistune.scanner/mistune.util/' hyperkitty/lib/renderer.py
'';
propagatedBuildInputs = [

Loading…
Cancel
Save