2011-08-02 15:26:47 +01:00
|
|
|
{ stdenv, fetchurl, zlib, bzip2, bison, flex }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-27 06:21:34 +00:00
|
|
|
name = "mairix-0.24";
|
2011-08-02 15:26:47 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/mairix/${name}.tar.gz";
|
2018-02-27 06:21:34 +00:00
|
|
|
sha256 = "0msaxz5c5hf7k1ci16i67m4ynrbrpsxbqzk84nz6z2vnkh3jww50";
|
2011-08-02 15:26:47 +01: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 15:26:47 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.rc0.org.uk/mairix;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2011-08-02 15:26:47 +01:00
|
|
|
description = "Program for indexing and searching email messages stored in maildir, MH or mbox";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; all;
|
|
|
|
};
|
|
|
|
}
|