summary refs log tree commit diff
path: root/pkgs/servers/mail/mailman/postorius.nix
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2022-04-26 12:19:41 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2022-05-20 01:21:20 +0200
commit72a14ea563a3f5bf85db659349a533fe75a8b0ce (patch)
tree2efe0917804963ba5dbca434ded84a780df557e7 /pkgs/servers/mail/mailman/postorius.nix
parent977df9de2e2705651903e7a7ba2478f52917b7e5 (diff)
downloadnixpkgs-72a14ea563a3f5bf85db659349a533fe75a8b0ce.tar
nixpkgs-72a14ea563a3f5bf85db659349a533fe75a8b0ce.tar.gz
nixpkgs-72a14ea563a3f5bf85db659349a533fe75a8b0ce.tar.bz2
nixpkgs-72a14ea563a3f5bf85db659349a533fe75a8b0ce.tar.lz
nixpkgs-72a14ea563a3f5bf85db659349a533fe75a8b0ce.tar.xz
nixpkgs-72a14ea563a3f5bf85db659349a533fe75a8b0ce.tar.zst
nixpkgs-72a14ea563a3f5bf85db659349a533fe75a8b0ce.zip
mailman: refactor package structure
* Removed unused `.package`-option.
* Added explicit postgresql support.
* Create a new meta-package for mailman to make sure each component has
  the **same** python and packages can be downgraded if needed (e.g.
  psycopg2 or sqlalchemy) without interfering with `pythonPackages` in any way.
* Document why certain python overrides are needed.

Closes #170035
Closes #158424
Diffstat (limited to 'pkgs/servers/mail/mailman/postorius.nix')
-rw-r--r--pkgs/servers/mail/mailman/postorius.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/servers/mail/mailman/postorius.nix b/pkgs/servers/mail/mailman/postorius.nix
index 4022b6fe91c..bd4425e5efa 100644
--- a/pkgs/servers/mail/mailman/postorius.nix
+++ b/pkgs/servers/mail/mailman/postorius.nix
@@ -1,6 +1,6 @@
-{ lib, buildPythonPackage, fetchPypi, beautifulsoup4, vcrpy, mock
-, django-mailman3, mailmanclient, readme_renderer
-}:
+{ lib, python3 }:
+
+with python3.pkgs;
 
 buildPythonPackage rec {
   pname = "postorius";