2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, openssl, tdb, zlib, flex, bison }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-05 17:05:55 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fdm";
|
|
|
|
version = "2.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nicm";
|
2021-01-05 17:05:55 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0j2n271ni5wslgjq1f4zgz1nsvqjf895dxy3ij5c904bbp8ckcwq";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ openssl tdb zlib flex bison ];
|
|
|
|
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Mail fetching and delivery tool - should do the job of getmail and procmail";
|
2021-01-05 17:05:55 +00:00
|
|
|
maintainers = with maintainers; [ ninjin raskin ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = with platforms; linux;
|
|
|
|
homepage = "https://github.com/nicm/fdm";
|
|
|
|
downloadPage = "https://github.com/nicm/fdm/releases";
|
|
|
|
license = licenses.isc;
|
|
|
|
};
|
|
|
|
}
|