summary refs log tree commit diff
path: root/pkgs/applications/networking/mailreaders/imapfilter.nix
blob: d7aff753e237fcc30cce121ecfc478c77d2dbddf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchurl, openssl, lua, pcre }:

stdenv.mkDerivation rec {
  name = "imapfilter-2.5.7";

  src = fetchurl {
    url = "https://github.com/lefcha/imapfilter/archive/v2.5.7.tar.gz";
    sha256 = "1l7sg7pyw1i8cxqnyb5xv983fakj8mxq6w44qd7w3kc7l6ixd4n7";
  };

  makeFlagsArray = "PREFIX=$(out)";
  propagatedBuildInputs = [ openssl pcre lua ];

  meta = {
    homepage = "https://github.com/lefcha/imapfilter";
    description = "Mail filtering utility";
    license = stdenv.lib.licenses.mit;
    platforms = stdenv.lib.platforms.unix;
    maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
  };
}