depot/third_party/nixpkgs/pkgs/servers/mail/mailman/postorius.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

28 lines
721 B
Nix

{ lib, python3, fetchPypi, nixosTests }:
with python3.pkgs;
buildPythonPackage rec {
pname = "postorius";
version = "1.3.10";
src = fetchPypi {
inherit pname version;
hash = "sha256-GmbIqO+03LgbUxJ1nTStXrYN3t2MfvzbeYRAipfTW1o=";
};
propagatedBuildInputs = [ django-mailman3 readme-renderer ];
nativeCheckInputs = [ beautifulsoup4 vcrpy mock ];
# Tries to connect to database.
doCheck = false;
passthru.tests = { inherit (nixosTests) mailman; };
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; [ qyliss ];
};
}