From 39e9bcedeeb7973fef3cf6e947b7d0672e849d51 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 26 Dec 2020 04:20:00 +0000 Subject: [PATCH] xandikos: install man page --- pkgs/servers/xandikos/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/servers/xandikos/default.nix b/pkgs/servers/xandikos/default.nix index 6bd3ebc4232..515282c1dbc 100644 --- a/pkgs/servers/xandikos/default.nix +++ b/pkgs/servers/xandikos/default.nix @@ -1,6 +1,7 @@ { stdenv , fetchFromGitHub , python3Packages +, installShellFiles }: python3Packages.buildPythonApplication rec { @@ -24,10 +25,17 @@ python3Packages.buildPythonApplication rec { prometheus_client ]; + nativeBuildInputs = [ installShellFiles ]; + + postInstall = '' + installManPage xandikos.1 + ''; + meta = with stdenv.lib; { description = "Lightweight CalDAV/CardDAV server"; homepage = "https://github.com/jelmer/xandikos"; license = licenses.gpl3Plus; + changelog = "https://github.com/jelmer/xandikos/blob/v${version}/NEWS"; maintainers = with maintainers; [ _0x4A6F ]; }; }