nixpkgs-suyu/pkgs/tools/networking/offlineimap/default.nix
R. RyanTM efd91a0a58 offlineimap: 7.2.0 -> 7.2.1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/offlineimap/versions.

These checks were done:

- built on NixOS
- /nix/store/i64ljqy7csw76jqan3d4r1ayqmdbpgiq-offlineimap-7.2.1/bin/.offlineimap-wrapped passed the binary check.
- /nix/store/i64ljqy7csw76jqan3d4r1ayqmdbpgiq-offlineimap-7.2.1/bin/offlineimap passed the binary check.
- 2 of 2 passed binary check by having a zero exit code.
- 2 of 2 passed binary check by having the new version present in output.
- found 7.2.1 with grep in /nix/store/i64ljqy7csw76jqan3d4r1ayqmdbpgiq-offlineimap-7.2.1
- directory tree listing: https://gist.github.com/db353c3cafac9aac9a95c6c5e39c8d32
- du listing: https://gist.github.com/87553df2ee20c8d6f60e17381d46f676
2018-06-19 03:53:25 -07:00

38 lines
1.2 KiB
Nix

{ stdenv, fetchFromGitHub, pythonPackages,
asciidoc, libxml2, libxslt, docbook_xml_xslt }:
pythonPackages.buildPythonApplication rec {
version = "7.2.1";
name = "offlineimap-${version}";
namePrefix = "";
src = fetchFromGitHub {
owner = "OfflineIMAP";
repo = "offlineimap";
rev = "v${version}";
sha256 = "1m5i74baazwazqp98ssma968rnwzfl1nywb7icf0swc8447ps97q";
};
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 pythonPackages.kerberos ];
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;
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.garbas ];
};
}