khal: build and install man page
This commit is contained in:
parent
7a712206a4
commit
8ebb3d8692
1 changed files with 6 additions and 1 deletions
|
@ -26,11 +26,16 @@ with python3.pkgs; buildPythonApplication rec {
|
||||||
pkginfo
|
pkginfo
|
||||||
freezegun
|
freezegun
|
||||||
];
|
];
|
||||||
nativeBuildInputs = [ setuptools_scm ];
|
nativeBuildInputs = [ setuptools_scm sphinx sphinxcontrib_newsfeed ];
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytest ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
# zsh completion
|
||||||
install -D misc/__khal $out/share/zsh/site-functions/__khal
|
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;
|
doCheck = !stdenv.isAarch64;
|
||||||
|
|
Loading…
Reference in a new issue