nixpkgs-suyu/pkgs/tools/text/mairix/default.nix

26 lines
713 B
Nix
Raw Normal View History

{ stdenv, fetchurl, zlib, bzip2, bison, flex }:
stdenv.mkDerivation rec {
2013-12-21 03:07:50 +01:00
name = "mairix-0.23";
src = fetchurl {
url = "mirror://sourceforge/mairix/${name}.tar.gz";
2013-12-21 03:07:50 +01:00
sha256 = "1yzjpmsih6c60ks0d0ia153z9g35nj7dmk98383m0crw31dj6kl0";
};
buildInputs = [ zlib bzip2 bison flex ];
# https://github.com/rc0/mairix/pull/19
2016-01-14 17:37:50 +01:00
patches = [ ./mmap.patch ];
enableParallelBuilding = true;
2016-01-14 17:37:50 +01:00
meta = {
homepage = http://www.rc0.org.uk/mairix;
license = stdenv.lib.licenses.gpl2Plus;
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;
};
}