offlineimap: install man pages
This commit is contained in:
parent
7b32b8a474
commit
ce859290e9
@ -1,4 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, pythonPackages, }:
|
{ stdenv, fetchFromGitHub, pythonPackages,
|
||||||
|
asciidoc, libxml2, libxslt, docbook_xml_xslt }:
|
||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
pythonPackages.buildPythonApplication rec {
|
||||||
version = "7.0.13";
|
version = "7.0.13";
|
||||||
@ -12,10 +13,22 @@ pythonPackages.buildPythonApplication rec {
|
|||||||
sha256 = "0108xmp9df6cb1nzw3ym59mir3phgfdgp5d43n44ymsk2cc39xcc";
|
sha256 = "0108xmp9df6cb1nzw3ym59mir3phgfdgp5d43n44ymsk2cc39xcc";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# Skip xmllint to stop failures due to no network access
|
||||||
|
sed -i docs/Makefile -e "s|a2x -v -d |a2x -L -v -d |"
|
||||||
|
'';
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
nativeBuildInputs = [ asciidoc libxml2 libxslt docbook_xml_xslt ];
|
||||||
propagatedBuildInputs = [ pythonPackages.six ];
|
propagatedBuildInputs = [ pythonPackages.six ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
make -C docs man
|
||||||
|
install -D -m 644 docs/offlineimap.1 ''${!outputMan}/share/man/man1/offlineimap.1
|
||||||
|
install -D -m 644 docs/offlineimapui.7 ''${!outputMan}/share/man/man7/offlineimapui.7
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Synchronize emails between two repositories, so that you can read the same mailbox from multiple computers";
|
description = "Synchronize emails between two repositories, so that you can read the same mailbox from multiple computers";
|
||||||
homepage = "http://offlineimap.org";
|
homepage = "http://offlineimap.org";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user