2024-01-25 14:12:00 +00:00
|
|
|
{ lib, python3, fetchPypi, nixosTests }:
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
with python3.pkgs;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "postorius";
|
2024-01-25 14:12:00 +00:00
|
|
|
version = "1.3.10";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-01-25 14:12:00 +00:00
|
|
|
hash = "sha256-GmbIqO+03LgbUxJ1nTStXrYN3t2MfvzbeYRAipfTW1o=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
django-mailman3 readme-renderer
|
|
|
|
] ++ readme-renderer.optional-dependencies.md;
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ beautifulsoup4 vcrpy mock ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# Tries to connect to database.
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
passthru.tests = { inherit (nixosTests) mailman; };
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://docs.mailman3.org/projects/postorius";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Web-based user interface for managing GNU Mailman";
|
2021-03-09 03:18:52 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2023-11-16 04:20:00 +00:00
|
|
|
maintainers = with maintainers; [ qyliss ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|