xandikos: install man page

This commit is contained in:
Mario Rodas 2020-12-26 04:20:00 +00:00
parent 84917aa00b
commit 39e9bcedee

View file

@ -1,6 +1,7 @@
{ stdenv { stdenv
, fetchFromGitHub , fetchFromGitHub
, python3Packages , python3Packages
, installShellFiles
}: }:
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
@ -24,10 +25,17 @@ python3Packages.buildPythonApplication rec {
prometheus_client prometheus_client
]; ];
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
installManPage xandikos.1
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Lightweight CalDAV/CardDAV server"; description = "Lightweight CalDAV/CardDAV server";
homepage = "https://github.com/jelmer/xandikos"; homepage = "https://github.com/jelmer/xandikos";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
changelog = "https://github.com/jelmer/xandikos/blob/v${version}/NEWS";
maintainers = with maintainers; [ _0x4A6F ]; maintainers = with maintainers; [ _0x4A6F ];
}; };
} }