mailman-web: 0.0.8 -> 0.0.9

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