2022-06-16 17:23:12 +00:00
|
|
|
{ lib, python3 }:
|
|
|
|
|
|
|
|
with python3.pkgs;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "postorius";
|
2021-04-05 15:23:46 +00:00
|
|
|
# Note: Mailman core must be on the latest version before upgrading Postorious.
|
|
|
|
# See: https://gitlab.com/mailman/postorius/-/issues/516#note_544571309
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "1.3.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "sha256-KwzEU9IfcQ6YPZu3jPuFrd6ux/3e2pzoLfTrak/aGmg=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ django-mailman3 readme_renderer ];
|
|
|
|
checkInputs = [ beautifulsoup4 vcrpy mock ];
|
|
|
|
|
|
|
|
# Tries to connect to database.
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://docs.mailman3.org/projects/postorius";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Web-based user interface for managing GNU Mailman";
|
2021-03-09 03:18:52 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2021-10-17 02:12:59 +00:00
|
|
|
maintainers = with maintainers; [ globin qyliss ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|