![stuebinm](/assets/img/avatar_default.png)
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
29 lines
720 B
Nix
29 lines
720 B
Nix
{ lib, stdenv, fetchFromGitHub, openssl, lua, pcre2 }:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "imapfilter";
|
|
version = "2.8.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lefcha";
|
|
repo = "imapfilter";
|
|
rev = "v${finalAttrs.version}";
|
|
sha256 = "sha256-pYnv9slw4bRPfCnhd/tlJC9JEx+3h40nyZ3qUll7p6c=";
|
|
};
|
|
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";
|
|
mainProgram = "imapfilter";
|
|
license = lib.licenses.mit;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = with lib.maintainers; [ doronbehar ];
|
|
};
|
|
})
|