mailman-web: 0.0.8 -> 0.0.9

+6 -10
+6 -10
pkgs/servers/mail/mailman/web.nix
··· 6 6 with python3.pkgs; 7 7 8 8 buildPythonPackage rec { 9 - pname = "mailman-web"; 10 - version = "0.0.8"; 9 + pname = "mailman_web"; 10 + version = "0.0.9"; 11 11 disabled = pythonOlder "3.8"; 12 + pyproject = true; 12 13 13 14 src = fetchPypi { 14 15 inherit pname version; 15 - hash = "sha256-nN/L+X2Rvm6rqkscns4Tn2TAr59O5lCJObvcJp6M0+Q="; 16 + hash = "sha256-3wnduej6xMQzrjGhGXQznfJud/Uoy3BDduukRJeahL8="; 16 17 }; 17 18 18 19 postPatch = '' 19 - # Django is depended on transitively by hyperkitty and postorius, 20 - # and mailman_web has overly restrictive version bounds on it, so 21 - # let's remove it. 22 - sed -i '/^[[:space:]]*django/Id' setup.cfg 23 - 24 20 # Upstream seems to mostly target installing on top of existing 25 21 # distributions, and uses a path appropriate for that, but we are 26 22 # a distribution, so use a state directory appropriate for a 27 23 # distro package. 28 24 substituteInPlace mailman_web/settings/base.py \ 29 - --replace /opt/mailman/web /var/lib/mailman-web 25 + --replace-fail /opt/mailman/web /var/lib/mailman-web 30 26 ''; 31 27 32 - nativeBuildInputs = [ setuptools-scm ]; 28 + nativeBuildInputs = [ pdm-backend ]; 33 29 propagatedBuildInputs = [ hyperkitty postorius whoosh ]; 34 30 35 31 # Tries to check runtime configuration.