aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/servers/mail/freepops/default.nix
blob: 5f027c89af8c4452838893f81a59881eb54a149a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{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;
  };
}