2021-01-15 09:19:50 +00:00
|
|
|
{ lib, stdenv, fetchurl, zlib, bzip2, bison, flex }:
|
2011-08-02 14:26:47 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-02 09:12:13 +00:00
|
|
|
pname = "mairix";
|
|
|
|
version = "0.24";
|
2011-08-02 14:26:47 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-02 09:12:13 +00:00
|
|
|
url = "mirror://sourceforge/mairix/mairix-${version}.tar.gz";
|
2018-02-27 06:21:34 +00:00
|
|
|
sha256 = "0msaxz5c5hf7k1ci16i67m4ynrbrpsxbqzk84nz6z2vnkh3jww50";
|
2011-08-02 14:26:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ zlib bzip2 bison flex ];
|
|
|
|
|
2016-01-15 14:59:41 +00:00
|
|
|
# https://github.com/rc0/mairix/pull/19
|
2016-01-14 16:37:50 +00:00
|
|
|
patches = [ ./mmap.patch ];
|
2016-01-15 14:59:41 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2016-01-14 16:37:50 +00:00
|
|
|
|
2011-08-02 14:26:47 +00:00
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.rc0.org.uk/mairix";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2011-08-02 14:26:47 +00:00
|
|
|
description = "Program for indexing and searching email messages stored in maildir, MH or mbox";
|
2021-01-15 09:19:50 +00:00
|
|
|
maintainers = with lib.maintainers; [viric];
|
|
|
|
platforms = with lib.platforms; all;
|
2011-08-02 14:26:47 +00:00
|
|
|
};
|
|
|
|
}
|