nixpkgs/pkgs/tools/networking/imapproxy/default.nix

23 lines
609 B
Nix
Raw Normal View History

2021-01-15 10:19:50 +01:00
{lib, stdenv, fetchurl, openssl, ncurses}:
2019-08-13 23:52:01 +02:00
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";
2021-01-15 10:19:50 +01:00
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.unix;
};
}