nixpkgs-suyu/pkgs/tools/networking/fdm/default.nix
2022-06-25 19:36:53 +00:00

26 lines
749 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, openssl, tdb, zlib, flex, bison }:
stdenv.mkDerivation rec {
pname = "fdm";
version = "2.1";
src = fetchFromGitHub {
owner = "nicm";
repo = pname;
rev = version;
sha256 = "sha256-w7jgFq/uWGTF8+CsQCwXKu3eJ7Yjp1WWY4DGQhpBFmQ=";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ openssl tdb zlib flex bison ];
meta = with lib; {
description = "Mail fetching and delivery tool - should do the job of getmail and procmail";
maintainers = with maintainers; [ ninjin raskin ];
platforms = with platforms; linux;
homepage = "https://github.com/nicm/fdm";
downloadPage = "https://github.com/nicm/fdm/releases";
license = licenses.isc;
};
}