2024-01-19 12:06:57 +00:00
|
|
|
{ lib, python3, fetchPypi, nixosTests }:
|
2022-04-26 10:19:41 +00:00
|
|
|
|
|
|
|
with python3.pkgs;
|
2019-08-26 15:41:02 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "postorius";
|
2024-01-17 09:42:41 +00:00
|
|
|
version = "1.3.10";
|
2019-08-26 15:41:02 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-01-17 09:42:41 +00:00
|
|
|
hash = "sha256-GmbIqO+03LgbUxJ1nTStXrYN3t2MfvzbeYRAipfTW1o=";
|
2019-08-26 15:41:02 +00:00
|
|
|
};
|
|
|
|
|
2024-01-22 22:19:13 +00:00
|
|
|
propagatedBuildInputs = [ django-mailman3 readme-renderer ];
|
2023-01-21 12:00:00 +00:00
|
|
|
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
|
|
|
|
2024-01-19 12:06:57 +00:00
|
|
|
passthru.tests = { inherit (nixosTests) mailman; };
|
|
|
|
|
2021-02-24 10:50:07 +00:00
|
|
|
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";
|
2021-02-24 10:50:07 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2023-10-24 11:09:45 +00:00
|
|
|
maintainers = with maintainers; [ qyliss ];
|
2019-08-26 15:41:02 +00:00
|
|
|
};
|
|
|
|
}
|