khal: build and install man page
commit8ebb3d8692dc60114e2a72837119683a8d55d7ec
authorWill Dietz <w@wdtz.org>
dateMon 19 Aug 2019, 13:26 (7 years ago)
parent7a71220
pkgs/applications/misc/khal/default.nix+6−1
@@ -26,11 +26,16 @@ with python3.pkgs; buildPythonApplication rec {
2626 pkginfo
2727 freezegun
2828 ];
29− nativeBuildInputs = [ setuptools_scm ];
29+ nativeBuildInputs = [ setuptools_scm sphinx sphinxcontrib_newsfeed ];
3030 checkInputs = [ pytest ];
3131
3232 postInstall = ''
33+ # zsh completion
3334 install -D misc/__khal $out/share/zsh/site-functions/__khal
35+
36+ # man page
37+ make -C doc man
38+ install -Dm755 doc/build/man/khal.1 -t $out/share/man/man1
3439 '';
3540
3641 doCheck = !stdenv.isAarch64;