7e0bd8d360
OfflineIMAP is primarily a program/tool, not a python module (although it installs a python module too, for those who want to poke at its internals). Now we can install it with "nix-env -i offlineimap" instead of "nix-env -i python2.7-offlineimap".
27 lines
714 B
Nix
27 lines
714 B
Nix
{ pkgs, fetchurl, buildPythonPackage, sqlite3 }:
|
|
|
|
buildPythonPackage rec {
|
|
version = "6.5.5-rc2";
|
|
name = "offlineimap-${version}";
|
|
namePrefix = "";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/OfflineIMAP/offlineimap/tarball/v${version}";
|
|
name = "${name}.tar.bz";
|
|
sha256 = "03w3irh8pxwvivi139xm5iaj2f8vmriak1ispq9d9f84z1098pd3";
|
|
};
|
|
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [
|
|
sqlite3
|
|
];
|
|
|
|
meta = {
|
|
description = "OfflineImap synchronizes emails between two repositories, so that you can read the same mailbox from multiple computers.";
|
|
homepage = "http://offlineimap.org";
|
|
license = pkgs.lib.licenses.gpl2Plus;
|
|
maintainers = [ pkgs.lib.maintainers.garbas ];
|
|
};
|
|
}
|