diff options
author | Thomas Tuegel <ttuegel@mailbox.org> | 2017-02-14 12:36:02 -0600 |
---|---|---|
committer | Thomas Tuegel <ttuegel@mailbox.org> | 2017-02-14 12:37:35 -0600 |
commit | ce859290e9a31acd9b0be51fa2c0ebe988b2c8bb (patch) | |
tree | 0acfe6cef189a2a846b02fcf7c32aa1f8c26ed76 /pkgs/tools/networking/offlineimap/default.nix | |
parent | 7b32b8a47429663f63a23f64acee38520e9dd918 (diff) | |
download | nixlib-ce859290e9a31acd9b0be51fa2c0ebe988b2c8bb.tar nixlib-ce859290e9a31acd9b0be51fa2c0ebe988b2c8bb.tar.gz nixlib-ce859290e9a31acd9b0be51fa2c0ebe988b2c8bb.tar.bz2 nixlib-ce859290e9a31acd9b0be51fa2c0ebe988b2c8bb.tar.lz nixlib-ce859290e9a31acd9b0be51fa2c0ebe988b2c8bb.tar.xz nixlib-ce859290e9a31acd9b0be51fa2c0ebe988b2c8bb.tar.zst nixlib-ce859290e9a31acd9b0be51fa2c0ebe988b2c8bb.zip |
offlineimap: install man pages
Diffstat (limited to 'pkgs/tools/networking/offlineimap/default.nix')
-rw-r--r-- | pkgs/tools/networking/offlineimap/default.nix | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/pkgs/tools/networking/offlineimap/default.nix b/pkgs/tools/networking/offlineimap/default.nix index 790212ec6890..d585be26e26d 100644 --- a/pkgs/tools/networking/offlineimap/default.nix +++ b/pkgs/tools/networking/offlineimap/default.nix @@ -1,4 +1,5 @@ -{ stdenv, fetchFromGitHub, pythonPackages, }: +{ stdenv, fetchFromGitHub, pythonPackages, + asciidoc, libxml2, libxslt, docbook_xml_xslt }: pythonPackages.buildPythonApplication rec { version = "7.0.13"; @@ -12,10 +13,22 @@ pythonPackages.buildPythonApplication rec { 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; + nativeBuildInputs = [ asciidoc libxml2 libxslt docbook_xml_xslt ]; 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 = { description = "Synchronize emails between two repositories, so that you can read the same mailbox from multiple computers"; homepage = "http://offlineimap.org"; |