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

25 lines
649 B
Nix
Raw Normal View History

2017-02-02 01:29:39 +00:00
{ stdenv, fetchFromGitHub, openssl, lua, pcre }:
2013-05-31 18:18:42 +00:00
stdenv.mkDerivation rec {
2017-02-02 01:29:39 +00:00
name = "imapfilter-${version}";
version = "2.6.10";
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}";
sha256 = "1011pbgbaz43kmxcc5alv06jly9wqmqgr0b64cm5i1md727v3rzc";
2013-05-31 18:18:42 +00:00
};
makeFlagsArray = "PREFIX=$(out)";
propagatedBuildInputs = [ openssl pcre lua ];
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";
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.unix;
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
};
}