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";
|
2022-06-25 19:36:53 +00:00
|
|
|
version = "2.1";
|
2017-11-04 10:41:54 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nicm";
|
2020-12-30 13:16:42 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-06-25 19:36:53 +00:00
|
|
|
sha256 = "sha256-w7jgFq/uWGTF8+CsQCwXKu3eJ7Yjp1WWY4DGQhpBFmQ=";
|
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
|
|
|
}
|