28 lines
682 B
Nix
28 lines
682 B
Nix
{ stdenv, fetchFromGitHub, openssl, lua, pcre }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "imapfilter";
|
|
version = "2.6.16";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lefcha";
|
|
repo = "imapfilter";
|
|
rev = "v${version}";
|
|
sha256 = "0f65sg6hhv6778fxwsz4hvarbm97dsb8jj0mg7a9qs273r35pqck";
|
|
};
|
|
makeFlags = [
|
|
"SSLCAFILE=/etc/ssl/certs/ca-bundle.crt"
|
|
"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; [ ];
|
|
};
|
|
}
|