2017-11-04 10:41:54 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, openssl, tdb, zlib, flex, bison }:
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
baseName = "fdm";
|
|
|
|
version = "1.9.0.20170124";
|
|
|
|
|
2010-10-21 23:03:36 +01:00
|
|
|
in
|
2017-11-04 10:41:54 +00:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2017-11-04 10:41:54 +00:00
|
|
|
name = "${baseName}-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nicm";
|
|
|
|
repo = baseName;
|
|
|
|
rev = "cae4ea37b6b296d1b2e48f62934ea3a7f6085e33";
|
|
|
|
sha256 = "048191wdv1yprwinipmx2152gvd2iq1ssv7xfb1bzh6zirh1ya3n";
|
2010-10-21 23:03:36 +01:00
|
|
|
};
|
|
|
|
|
2017-11-04 10:41:54 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ openssl tdb zlib flex bison ];
|
|
|
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2010-10-21 23:03:36 +01:00
|
|
|
description = "Mail fetching and delivery tool - should do the job of getmail and procmail";
|
2017-11-04 10:41:54 +00:00
|
|
|
maintainers = with maintainers; [ raskin ];
|
|
|
|
platforms = with platforms; linux;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/nicm/fdm";
|
|
|
|
downloadPage = "https://github.com/nicm/fdm/releases";
|
2018-09-10 20:23:27 +01:00
|
|
|
license = licenses.isc;
|
2010-10-21 23:03:36 +01:00
|
|
|
};
|
2014-11-07 09:05:07 +00:00
|
|
|
}
|