nixpkgs/pkgs/applications/networking/mailreaders/imapfilter.nix

28 lines
660 B
Nix
Raw Normal View History

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 {
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
};
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 = {
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
};
}