From 8ebb3d8692dc60114e2a72837119683a8d55d7ec Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Mon, 19 Aug 2019 13:26:08 -0500 Subject: [PATCH] khal: build and install man page --- pkgs/applications/misc/khal/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/khal/default.nix b/pkgs/applications/misc/khal/default.nix index 2e32bbd611a..455a4808910 100644 --- a/pkgs/applications/misc/khal/default.nix +++ b/pkgs/applications/misc/khal/default.nix @@ -26,11 +26,16 @@ with python3.pkgs; buildPythonApplication rec { pkginfo freezegun ]; - nativeBuildInputs = [ setuptools_scm ]; + nativeBuildInputs = [ setuptools_scm sphinx sphinxcontrib_newsfeed ]; checkInputs = [ pytest ]; postInstall = '' + # zsh completion install -D misc/__khal $out/share/zsh/site-functions/__khal + + # man page + make -C doc man + install -Dm755 doc/build/man/khal.1 -t $out/share/man/man1 ''; doCheck = !stdenv.isAarch64;