3
0
Fork 0
forked from mirrors/nixpkgs

Adding offlineimap, in a not very elegant way.

svn path=/nixpkgs/trunk/; revision=21034
This commit is contained in:
Lluís Batlle i Rossell 2010-04-12 21:03:22 +00:00
parent 35639242b5
commit b6fe7e6d41
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{fetchurl, buildPythonPackage}:
buildPythonPackage {
name = "offlineimap-6.2.0";
src = fetchurl {
url = "http://software.complete.org/software/attachments/download/413/offlineimap_6.2.0.orig.tar.gz";
sha256 = "057pcz2291mdpkjyrwdzxfg831337sg7bbqyxmwfy42k7np5bdi4";
};
doCheck = false;
preConfigure = "set -x";
buildInputs = [ ];
meta = {
description = "IMAP to local files bridge";
homepage = "http://software.complete.org/software/projects/show/offlineimap";
license = "GPLv2+";
};
}

View file

@ -1225,6 +1225,21 @@ let
inherit fetchurl stdenv pkgconfig openobex bluez;
};
offlineimap = import ../tools/networking/offlineimap {
inherit fetchurl;
# I did not find any better way of reusing buildPythonPackage+setuptools
# for a python with openssl support
buildPythonPackage = assert pythonFull.opensslSupport;
import ../development/python-modules/generic {
inherit makeWrapper lib;
python = pythonFull;
setuptools = builderDefsPackage (import ../development/python-modules/setuptools) {
inherit makeWrapper;
python = pythonFull;
};
};
};
opendbx = import ../development/libraries/opendbx {
inherit fetchurl stdenv readline mysql postgresql sqlite;
};