Merge pull request #125410 from NixOS/backport-125333-to-release-21.05

[Backport release-21.05] pantalaimon: install manuals
This commit is contained in:
Artturi 2021-08-06 23:50:53 +03:00 committed by GitHub
commit 156a73ee6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

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";