python3Packages.goobook: Generate and install the man page

This commit is contained in:
Michael Weiss 2020-09-08 14:56:14 +02:00
parent 466522c919
commit d2eb16cdf5
No known key found for this signature in database
GPG Key ID: 5BE487C4D4771D83
1 changed files with 7 additions and 0 deletions

View File

@ -1,4 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
, docutils, installShellFiles
, google_api_python_client, simplejson, oauth2client, setuptools, xdg
}:
@ -12,10 +13,16 @@ buildPythonPackage rec {
sha256 = "1rmfyma3gwdf5mrw4l3j66y86fy8hgdbd0z4a5kck0kcm3hy34j9";
};
nativeBuildInputs = [ docutils installShellFiles ];
propagatedBuildInputs = [
google_api_python_client simplejson oauth2client setuptools xdg
];
postInstall = ''
rst2man goobook.1.rst goobook.1
installManPage goobook.1
'';
meta = with stdenv.lib; {
description = "Access your Google contacts from the command line";
longDescription = ''