a3bb8d7922
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
24 lines
635 B
Nix
24 lines
635 B
Nix
{lib, stdenv, fetchurl, openssl, ncurses}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "imapproxy";
|
|
version = "1.2.7";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/squirrelmail/squirrelmail-imap_proxy-${version}.tar.bz2";
|
|
sha256 = "0j5fq755sxiz338ia93jrkiy64crv30g37pir5pxfys57q7d92nx";
|
|
};
|
|
|
|
buildInputs = [ openssl ncurses ];
|
|
|
|
patchPhase = ''
|
|
sed -i -e 's/-o \(root\|bin\) -g \(sys\|bin\)//' Makefile.in
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "http://imapproxy.org/";
|
|
description = "It proxies IMAP transactions caching server connections";
|
|
license = lib.licenses.gpl2Plus;
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|