nixpkgs/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
721 B
Nix
Raw Normal View History

{ lib, python3, fetchPypi, nixosTests }:
with python3.pkgs;
2019-08-26 15:41:02 +00:00
buildPythonPackage rec {
pname = "postorius";
version = "1.3.10";
2019-08-26 15:41:02 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-GmbIqO+03LgbUxJ1nTStXrYN3t2MfvzbeYRAipfTW1o=";
2019-08-26 15:41:02 +00:00
};
propagatedBuildInputs = [ django-mailman3 readme-renderer ];
nativeCheckInputs = [ beautifulsoup4 vcrpy mock ];
2019-08-26 15:41:02 +00:00
2020-01-17 02:22:28 +00:00
# Tries to connect to database.
doCheck = false;
2019-08-26 15:41:02 +00:00
passthru.tests = { inherit (nixosTests) mailman; };
meta = with lib; {
homepage = "https://docs.mailman3.org/projects/postorius";
2019-08-26 15:41:02 +00:00
description = "Web-based user interface for managing GNU Mailman";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ qyliss ];
2019-08-26 15:41:02 +00:00
};
}