11 python3Packages.buildPythonApplication rec {
12 pname = "pantalaimon";
16 # pypi tarball miss tests
17 src = fetchFromGitHub {
21 hash = "sha256-yMhE3wKRbFHoL0vdFR8gMkNU7Su4FHbAwKQYADaaWpk=";
26 ] ++ (with python3Packages; [
34 dependencies = with python3Packages; [
43 (matrix-nio.override { withOlm = true; })
47 ++ lib.optionals enableDbusUi optional-dependencies.ui;
49 optional-dependencies.ui = with python3Packages; [
56 nativeCheckInputs = with python3Packages; [
62 ++ lib.flatten (lib.attrValues optional-dependencies);
64 nativeBuildInputs = lib.optionals enableDbusUi [
68 dontWrapGApps = enableDbusUi;
69 makeWrapperArgs = lib.optionals enableDbusUi [
70 "\${gappsWrapperArgs[@]}"
73 # darwin has difficulty communicating with server, fails some integration tests
74 doCheck = !stdenv.hostPlatform.isDarwin;
77 installManPage docs/man/*.[1-9]
81 inherit (nixosTests) pantalaimon;
85 description = "End-to-end encryption aware Matrix reverse proxy daemon";
86 homepage = "https://github.com/matrix-org/pantalaimon";
87 license = licenses.asl20;
88 maintainers = with maintainers; [ valodim ];