depot/third_party/nixpkgs/pkgs/tools/text/mairix/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

27 lines
727 B
Nix

{ lib, stdenv, fetchurl, zlib, bzip2, bison, flex }:
stdenv.mkDerivation rec {
pname = "mairix";
version = "0.24";
src = fetchurl {
url = "mirror://sourceforge/mairix/mairix-${version}.tar.gz";
sha256 = "0msaxz5c5hf7k1ci16i67m4ynrbrpsxbqzk84nz6z2vnkh3jww50";
};
buildInputs = [ zlib bzip2 bison flex ];
# https://github.com/rc0/mairix/pull/19
patches = [ ./mmap.patch ];
enableParallelBuilding = true;
meta = {
homepage = "http://www.rc0.org.uk/mairix";
license = lib.licenses.gpl2Plus;
description = "Program for indexing and searching email messages stored in maildir, MH or mbox";
mainProgram = "mairix";
maintainers = [ ];
platforms = with lib.platforms; all;
};
}