khal: build and install man page

This commit is contained in:
Will Dietz 2019-08-19 13:26:08 -05:00
parent 7a712206a4
commit 8ebb3d8692
No known key found for this signature in database
GPG Key ID: EBB0EA4124809D02

View File

@ -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;