depot/third_party/nixpkgs/pkgs/servers/mail/mailman/postorius.nix
Default email 77976348d2 Project import generated by Copybara.
GitOrigin-RevId: 9aeeb7574fb784eaf6395f4400705b5f619e6cc3
2021-10-17 05:12:59 +03:00

28 lines
882 B
Nix

{ lib, buildPythonPackage, fetchPypi, beautifulsoup4, vcrpy, mock
, django-mailman3, mailmanclient, readme_renderer
}:
buildPythonPackage rec {
pname = "postorius";
# Note: Mailman core must be on the latest version before upgrading Postorious.
# See: https://gitlab.com/mailman/postorius/-/issues/516#note_544571309
version = "1.3.4";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-L2ApUGQNvR0UVvodVM+wMzjYLZkegI4fT4yUiU/cibU=";
};
propagatedBuildInputs = [ django-mailman3 readme_renderer ];
checkInputs = [ beautifulsoup4 vcrpy mock ];
# Tries to connect to database.
doCheck = false;
meta = with lib; {
homepage = "https://docs.mailman3.org/projects/postorius";
description = "Web-based user interface for managing GNU Mailman";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ globin qyliss ];
};
}