2021-01-15 05:42:41 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, openssl, lua, pcre2 }:
|
2013-05-31 18:18:42 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "imapfilter";
|
2020-12-23 15:26:52 +00:00
|
|
|
version = "2.7.5";
|
2014-09-21 17:40:02 +00:00
|
|
|
|
2017-02-02 01:29:39 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lefcha";
|
|
|
|
repo = "imapfilter";
|
|
|
|
rev = "v${version}";
|
2020-12-23 15:26:52 +00:00
|
|
|
sha256 = "nbVwbPkNbJz4GHhvOp+QVgiBqKA/HR34p4x3NXJB7ig=";
|
2013-05-31 18:18:42 +00:00
|
|
|
};
|
2020-04-10 15:04:53 +00:00
|
|
|
makeFlags = [
|
|
|
|
"SSLCAFILE=/etc/ssl/certs/ca-bundle.crt"
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
];
|
2013-05-31 18:18:42 +00:00
|
|
|
|
2020-12-23 15:26:52 +00:00
|
|
|
buildInputs = [ openssl pcre2 lua ];
|
2013-05-31 18:18:42 +00:00
|
|
|
|
2014-09-21 17:40:02 +00:00
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/lefcha/imapfilter";
|
2014-09-21 17:40:02 +00:00
|
|
|
description = "Mail filtering utility";
|
2021-01-15 05:42:41 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = with lib.maintainers; [ doronbehar ];
|
2014-09-21 17:40:02 +00:00
|
|
|
};
|
|
|
|
}
|