Merge pull request #125410 from NixOS/backport-125333-to-release-21.05
[Backport release-21.05] pantalaimon: install manuals
This commit is contained in:
commit
156a73ee6c
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue