@@ -0,0 +1,24 @@
1+{ stdenv, fetchurl, ncurses, autoreconfHook, flex }:
2+let rev = "431604647f89d5aac7b199a7883e98e56e4ccf9e";
3+in stdenv.mkDerivation rec {
4+ pname = "mmh-unstable";
5+ version = "2019-09-08";
6+
7+ src = fetchurl {
8+ url = "http://git.marmaro.de/?p=mmh;a=snapshot;h=${rev};sf=tgz";
9+ name = "mmh-${rev}.tgz";
10+ sha256 = "1q97p4g3f1q2m567i2dbx7mm7ixw3g91ww2rymwj42cxk9iyizhv";
11+ };
12+
13+ buildInputs = [ ncurses ];
14+ nativeBuildInputs = [ autoreconfHook flex ];
15+
16+ meta = with stdenv.lib; {
17+ description = "Set of electronic mail handling programs";
18+ homepage = "http://marmaro.de/prog/mmh";
19+ license = licenses.bsd3;
20+ platforms = platforms.unix;
21+ broken = stdenv.isDarwin;
22+ maintainers = with maintainers; [ kaction ];
23+ };
24+}