2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, beautifulsoup4, vcrpy, mock
|
2020-01-17 02:22:28 +00:00
|
|
|
, django-mailman3, mailmanclient, readme_renderer
|
2019-08-26 16:41:02 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "postorius";
|
2021-04-05 02:34:59 +01:00
|
|
|
# Note: Mailman core must be on the latest version before upgrading Postorious.
|
|
|
|
# See: https://gitlab.com/mailman/postorius/-/issues/516#note_544571309
|
2021-02-24 10:50:07 +00:00
|
|
|
version = "1.3.4";
|
2019-08-26 16:41:02 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-24 10:50:07 +00:00
|
|
|
sha256 = "sha256-L2ApUGQNvR0UVvodVM+wMzjYLZkegI4fT4yUiU/cibU=";
|
2019-08-26 16:41:02 +01:00
|
|
|
};
|
|
|
|
|
2020-01-17 02:22:28 +00:00
|
|
|
propagatedBuildInputs = [ django-mailman3 readme_renderer ];
|
2020-01-17 02:02:51 +00:00
|
|
|
checkInputs = [ beautifulsoup4 vcrpy mock ];
|
2019-08-26 16:41:02 +01:00
|
|
|
|
2020-01-17 02:22:28 +00:00
|
|
|
# Tries to connect to database.
|
|
|
|
doCheck = false;
|
2019-08-26 16:41:02 +01:00
|
|
|
|
2021-02-24 10:50:07 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://docs.mailman3.org/projects/postorius";
|
2019-08-26 16:41:02 +01:00
|
|
|
description = "Web-based user interface for managing GNU Mailman";
|
2021-02-24 10:50:07 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ globin peti ];
|
2019-08-26 16:41:02 +01:00
|
|
|
};
|
|
|
|
}
|