nixpkgs/pkgs/tools/networking/fdm/default.nix

33 lines
834 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, autoreconfHook, openssl, tdb, zlib, flex, bison }:
let
baseName = "fdm";
2020-12-29 22:53:04 -08:00
version = "2.0";
in
2019-08-13 14:52:01 -07:00
stdenv.mkDerivation {
name = "${baseName}-${version}";
src = fetchFromGitHub {
owner = "nicm";
repo = baseName;
2020-12-29 22:53:04 -08:00
rev = "370b04f165b0bb2989be378bb7e66b14f042d3f9";
sha256 = "0j2n271ni5wslgjq1f4zgz1nsvqjf895dxy3ij5c904bbp8ckcwq";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ openssl tdb zlib flex bison ];
meta = with stdenv.lib; {
description = "Mail fetching and delivery tool - should do the job of getmail and procmail";
2020-12-29 22:52:33 -08:00
maintainers = with maintainers; [ ninjin raskin ];
platforms = with platforms; linux;
homepage = "https://github.com/nicm/fdm";
downloadPage = "https://github.com/nicm/fdm/releases";
2018-09-10 12:23:27 -07:00
license = licenses.isc;
};
}