My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/applications/networking/mailreaders/imapfilter.nix

27 lines
660 B

{ lib, stdenv, fetchFromGitHub, openssl, lua, pcre2 }:
stdenv.mkDerivation rec {
pname = "imapfilter";
version = "2.7.5";
src = fetchFromGitHub {
owner = "lefcha";
repo = "imapfilter";
rev = "v${version}";
sha256 = "nbVwbPkNbJz4GHhvOp+QVgiBqKA/HR34p4x3NXJB7ig=";
};
makeFlags = [
"SSLCAFILE=/etc/ssl/certs/ca-bundle.crt"
"PREFIX=$(out)"
];
buildInputs = [ openssl pcre2 lua ];
meta = {
homepage = "https://github.com/lefcha/imapfilter";
description = "Mail filtering utility";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ doronbehar ];
};
}