1 { lib, stdenv, fetchurl, ncurses, autoreconfHook, flex }:
2 let rev = "b17ea39dc17e5514f33b3f5c34ede92bd16e208c";
3 in stdenv.mkDerivation rec {
5 version = "unstable-2020-08-21";
8 url = "http://git.marmaro.de/?p=mmh;a=snapshot;h=${rev};sf=tgz";
9 name = "mmh-${rev}.tgz";
10 sha256 = "1bqfxafw4l2y46pnsxgy4ji1xlyifzw01k1ykbsjj9p61q3nv6l6";
14 substituteInPlace sbr/Makefile.in \
15 --replace "ar " "${stdenv.cc.targetPrefix}ar "
18 buildInputs = [ ncurses ];
19 nativeBuildInputs = [ autoreconfHook flex ];
22 description = "Set of electronic mail handling programs";
23 homepage = "http://marmaro.de/prog/mmh";
24 license = licenses.bsd3;
25 platforms = platforms.unix;
26 broken = stdenv.hostPlatform.isDarwin;
27 maintainers = with maintainers; [ kaction ];