depot/third_party/nixpkgs/pkgs/tools/networking/imapproxy/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

22 lines
618 B
Nix

{stdenv, fetchurl, openssl, ncurses}:
stdenv.mkDerivation {
name = "imapproxy-1.2.7";
src = fetchurl {
url = "mirror://sourceforge/squirrelmail/squirrelmail-imap_proxy-1.2.7.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 = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.unix;
};
}