nixpkgs/pkgs/tools/networking/offlineimap/default.nix
2016-08-12 18:23:05 +02:00

26 lines
717 B
Nix

{ stdenv, fetchFromGitHub, pythonPackages, sqlite3 }:
pythonPackages.buildPythonApplication rec {
version = "7.0.5";
name = "offlineimap-${version}";
namePrefix = "";
src = fetchFromGitHub {
owner = "OfflineIMAP";
repo = "offlineimap";
rev = "v${version}";
sha256 = "0gmypc0sribxzglxgymfc5x3saxnkyhbky06dhxanxm6pa1p4blh";
};
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 ];
};
}