pantalaimon: install manuals

(cherry picked from commit f42a1d9df5a413cd80b36081922aaf3b7c33f8e6)
This commit is contained in:
Johannes Schleifenbaum 2021-06-02 08:38:39 +02:00 committed by github-actions[bot]
parent 297970378b
commit 424a8e18f5

View File

@ -1,7 +1,7 @@
{ lib, stdenv, buildPythonApplication, fetchFromGitHub, pythonOlder, { lib, stdenv, buildPythonApplication, fetchFromGitHub, pythonOlder,
attrs, aiohttp, appdirs, click, keyring, Logbook, peewee, janus, attrs, aiohttp, appdirs, click, keyring, Logbook, peewee, janus,
prompt_toolkit, matrix-nio, dbus-python, pydbus, notify2, pygobject3, prompt_toolkit, matrix-nio, dbus-python, pydbus, notify2, pygobject3,
setuptools, fetchpatch, setuptools, fetchpatch, installShellFiles,
pytest, faker, pytest-aiohttp, aioresponses, pytest, faker, pytest-aiohttp, aioresponses,
@ -56,6 +56,10 @@ buildPythonApplication rec {
aioresponses aioresponses
]; ];
nativeBuildInputs = [
installShellFiles
];
# darwin has difficulty communicating with server, fails some integration tests # darwin has difficulty communicating with server, fails some integration tests
doCheck = !stdenv.isDarwin; doCheck = !stdenv.isDarwin;
@ -63,6 +67,10 @@ buildPythonApplication rec {
pytest pytest
''; '';
postInstall = ''
installManPage docs/man/*.[1-9]
'';
meta = with lib; { meta = with lib; {
description = "An end-to-end encryption aware Matrix reverse proxy daemon"; description = "An end-to-end encryption aware Matrix reverse proxy daemon";
homepage = "https://github.com/matrix-org/pantalaimon"; homepage = "https://github.com/matrix-org/pantalaimon";