forked from mirrors/nixpkgs
Adding offlineimap, in a not very elegant way.
svn path=/nixpkgs/trunk/; revision=21034
This commit is contained in:
parent
35639242b5
commit
b6fe7e6d41
21
pkgs/tools/networking/offlineimap/default.nix
Normal file
21
pkgs/tools/networking/offlineimap/default.nix
Normal 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+";
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue