diff options
author | Peter Simons <simons@cryp.to> | 2019-08-26 17:41:02 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2019-08-26 21:12:56 +0200 |
commit | 22af3829a4bf9722c96ca07cb2840e4d61ee8b7e (patch) | |
tree | fece2ddc2cac97ad1b83571272e1a52b7042deb0 /pkgs/servers/mail | |
parent | a9b4e7592faad4852236245d333ea72c2cb282b8 (diff) |
mailman: add the Postorious web UI
Diffstat (limited to 'pkgs/servers/mail')
-rw-r--r-- | pkgs/servers/mail/mailman/core.nix (renamed from pkgs/servers/mail/mailman/default.nix) | 0 | ||||
-rw-r--r-- | pkgs/servers/mail/mailman/postorius.nix | 25 |
2 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/servers/mail/mailman/default.nix b/pkgs/servers/mail/mailman/core.nix index fcd594270db4f..fcd594270db4f 100644 --- a/pkgs/servers/mail/mailman/default.nix +++ b/pkgs/servers/mail/mailman/core.nix diff --git a/pkgs/servers/mail/mailman/postorius.nix b/pkgs/servers/mail/mailman/postorius.nix new file mode 100644 index 0000000000000..7ae07a9952868 --- /dev/null +++ b/pkgs/servers/mail/mailman/postorius.nix @@ -0,0 +1,25 @@ +{ stdenv, buildPythonPackage, fetchPypi, beautifulsoup4, vcrpy, mock +, django-mailman3, mailmanclient +}: + +buildPythonPackage rec { + pname = "postorius"; + version = "1.2.4"; + + src = fetchPypi { + inherit pname version; + sha256 = "1722lnscxfl8wdigf5d80d1qmd5gblr439wa989jxlww0wkjg9fl"; + }; + + buildInputs = [ beautifulsoup4 vcrpy mock ]; + propagatedBuildInputs = [ django-mailman3 ]; + + doCheck = false; + + meta = { + homepage = https://www.gnu.org/software/mailman/; + description = "Web-based user interface for managing GNU Mailman"; + license = stdenv.lib.licenses.gpl3; + maintainers = with stdenv.lib.maintainers; [ peti ]; + }; +} |