2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, openssl, tdb, zlib, flex, bison }:
|
2017-11-04 10:41:54 +00:00
|
|
|
|
2020-12-30 13:16:42 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fdm";
|
2020-12-30 06:53:04 +00:00
|
|
|
version = "2.0";
|
2017-11-04 10:41:54 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nicm";
|
2020-12-30 13:16:42 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-12-30 06:53:04 +00:00
|
|
|
sha256 = "0j2n271ni5wslgjq1f4zgz1nsvqjf895dxy3ij5c904bbp8ckcwq";
|
2010-10-21 22:03:36 +00:00
|
|
|
};
|
|
|
|
|
2017-11-04 10:41:54 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ openssl tdb zlib flex bison ];
|
|
|
|
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2010-10-21 22:03:36 +00:00
|
|
|
description = "Mail fetching and delivery tool - should do the job of getmail and procmail";
|
2020-12-30 06:52:33 +00:00
|
|
|
maintainers = with maintainers; [ ninjin raskin ];
|
2017-11-04 10:41:54 +00:00
|
|
|
platforms = with platforms; linux;
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/nicm/fdm";
|
|
|
|
downloadPage = "https://github.com/nicm/fdm/releases";
|
2018-09-10 19:23:27 +00:00
|
|
|
license = licenses.isc;
|
2010-10-21 22:03:36 +00:00
|
|
|
};
|
2014-11-07 09:05:07 +00:00
|
|
|
}
|