mailmanPackages.postorius: backport security fix (#517545)

This commit is contained in:
Alyssa Ross
2026-05-07 05:47:27 +00:00
committed by GitHub
+10
View File
@@ -2,6 +2,7 @@
lib,
python3,
fetchPypi,
fetchpatch,
nixosTests,
}:
@@ -17,6 +18,15 @@ buildPythonPackage (finalAttrs: {
hash = "sha256-GmbIqO+03LgbUxJ1nTStXrYN3t2MfvzbeYRAipfTW1o=";
};
patches = [
(fetchpatch {
name = "security-fix.patch";
url = "https://gitlab.com/mailman/postorius/-/commit/c4706abd05ba6bcf472fc674b160d3a9d6a4868b.patch";
excludes = [ "src/postorius/doc/news.rst" ];
hash = "sha256-M8C7mO/KoVhl1YtZ5x3wqL+aBkepJ/7NoIRUmd0JpiM=";
})
];
propagatedBuildInputs = [
django-mailman3
readme-renderer