Unverified Commit 638958e9 authored by Alyssa Ross's avatar Alyssa Ross
Browse files

mailmanPackages.web: backport Django 5.2 compat

parent bbd173f6
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  python3,
  fetchPypi,
  fetchpatch,
  sassc,
  hyperkitty,
  postorius,
@@ -20,6 +21,15 @@ buildPythonPackage rec {
    hash = "sha256-3wnduej6xMQzrjGhGXQznfJud/Uoy3BDduukRJeahL8=";
  };

  patches = [
    (fetchpatch {
      name = "django-5.2.patch";
      url = "https://gitlab.com/mailman/mailman-web/-/commit/bf3eae03ba6ed416ff58e63ea30dd4b95f310e46.patch";
      includes = [ "pyproject.toml" ];
      hash = "sha256-NcXFXYJe3ve4qAGzOVZv9hBx4MTwxRtIYp1GRD1g0qw=";
    })
  ];

  postPatch = ''
    # Upstream seems to mostly target installing on top of existing
    # distributions, and uses a path appropriate for that, but we are