nixpkgs/pkgs/tools/networking/offlineimap/default.nix
2016-07-27 16:50:37 +02:00

25 lines
717 B
Nix

{ stdenv, fetchFromGitHub, pythonPackages, sqlite3 }:
pythonPackages.buildPythonApplication rec {
version = "7.0.2";
name = "offlineimap-${version}";
namePrefix = "";
src = fetchFromGitHub {
owner = "OfflineIMAP";
repo = "offlineimap";
rev = "v${version}";
sha256 = "1xwblb1nvqq6gkxjynzsw31xja07qday58x5jqak8sp3d4lqw2h2";
};
doCheck = false;
propagatedBuildInputs = [ sqlite3 pythonPackages.six ];
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 ];
};
}