nixpkgs-suyu/pkgs/servers/mail/mailman/postorius.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
882 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, beautifulsoup4, vcrpy, mock
2020-01-17 03:22:28 +01:00
, django-mailman3, mailmanclient, readme_renderer
2019-08-26 17:41:02 +02:00
}:
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.6";
2019-08-26 17:41:02 +02:00
src = fetchPypi {
inherit pname version;
sha256 = "sha256-KwzEU9IfcQ6YPZu3jPuFrd6ux/3e2pzoLfTrak/aGmg=";
2019-08-26 17:41:02 +02:00
};
2020-01-17 03:22:28 +01:00
propagatedBuildInputs = [ django-mailman3 readme_renderer ];
checkInputs = [ beautifulsoup4 vcrpy mock ];
2019-08-26 17:41:02 +02:00
2020-01-17 03:22:28 +01:00
# Tries to connect to database.
doCheck = false;
2019-08-26 17:41:02 +02:00
meta = with lib; {
homepage = "https://docs.mailman3.org/projects/postorius";
2019-08-26 17:41:02 +02:00
description = "Web-based user interface for managing GNU Mailman";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ globin qyliss ];
2019-08-26 17:41:02 +02:00
};
}