2021-01-15 09:19:50 +00:00
|
|
|
{lib, stdenv, fetchurl, openssl, ncurses}:
|
2011-11-09 18:25:55 +00:00
|
|
|
|
2021-08-01 21:48:53 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "imapproxy";
|
|
|
|
version = "1.2.7";
|
|
|
|
|
2011-11-09 18:25:55 +00:00
|
|
|
src = fetchurl {
|
2021-08-01 21:48:53 +01:00
|
|
|
url = "mirror://sourceforge/squirrelmail/squirrelmail-imap_proxy-${version}.tar.bz2";
|
2011-11-09 18:25:55 +00:00
|
|
|
sha256 = "0j5fq755sxiz338ia93jrkiy64crv30g37pir5pxfys57q7d92nx";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ openssl ncurses ];
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's/-o \(root\|bin\) -g \(sys\|bin\)//' Makefile.in
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://imapproxy.org/";
|
2011-11-09 18:25:55 +00:00
|
|
|
description = "It proxies IMAP transactions caching server connections";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.unix;
|
2011-11-09 18:25:55 +00:00
|
|
|
};
|
|
|
|
}
|