1 { lib, stdenv, fetchFromGitHub, autoreconfHook, openssl, tdb, zlib, flex, bison }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 hash = "sha256-Gqpz+N1ELU5jQpPJAG9s8J9UHWOJNhkT+s7+xuQazd0=";
14 nativeBuildInputs = [ autoreconfHook ];
15 buildInputs = [ openssl tdb zlib flex bison ];
18 install fdm-sanitize $out/bin
19 mkdir -p $out/share/doc/${pname}
20 install -m644 MANUAL $out/share/doc/${pname}
21 cp -R examples $out/share/doc/${pname}
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 ++ darwin;
28 homepage = "https://github.com/nicm/fdm";
29 downloadPage = "https://github.com/nicm/fdm/releases";
30 license = licenses.isc;