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

29 lines
906 B
Nix

{stdenv, fetchurl, pkgconfig, openssl, lua5, curl, readline, bison, expat}:
stdenv.mkDerivation {
name = "freepops-0.2.9";
src = fetchurl {
url = "mirror://sourceforge/freepops/0.2.9/freepops-0.2.9.tar.gz";
sha256 = "3a065e30cafed03d9b6fdb28251ae5bf0d8aeb62181746154beecd25dc0c9cae";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl lua5 curl readline bison expat];
configurePhase =
''
export WHERE=$prefix/
export LOCALEDIR=$prefix/share/locale/
./configure.sh linux
'';
meta = {
description = "An extensible pop3 server";
longDescription = ''
FreePOPs is an extensible pop3 server. Its main purpose is to provide
a pop3 interface to a webmail.
'';
homepage = "http://www.freepops.org/";
platforms = with stdenv.lib.platforms; linux;
maintainers = with stdenv.lib.maintainers; [ pierron ];
broken = true;
};
}