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

26 lines
699 B
Nix
Raw Normal View History

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