1{ stdenv, fetchFromGitHub, autoreconfHook, openssl, tdb, zlib, flex, bison }:
2
3let
4
5 baseName = "fdm";
6 version = "1.9.0.20170124";
7
8in
9
10stdenv.mkDerivation rec {
11 name = "${baseName}-${version}";
12
13 src = fetchFromGitHub {
14 owner = "nicm";
15 repo = baseName;
16 rev = "cae4ea37b6b296d1b2e48f62934ea3a7f6085e33";
17 sha256 = "048191wdv1yprwinipmx2152gvd2iq1ssv7xfb1bzh6zirh1ya3n";
18 };
19
20 nativeBuildInputs = [ autoreconfHook ];
21 buildInputs = [ openssl tdb zlib flex bison ];
22
23
24 meta = with stdenv.lib; {
25 description = "Mail fetching and delivery tool - should do the job of getmail and procmail";
26 maintainers = with maintainers; [ raskin ];
27 platforms = with platforms; linux;
28 homepage = https://github.com/nicm/fdm;
29 downloadPage = https://github.com/nicm/fdm/releases;
30 };
31}