summary refs log blame commit diff
path: root/pkgs/tools/networking/fdm/default.nix
blob: abb76e633ee71e1cfecde3ea453e731f807e93d8 (plain) (tree)
1
2
3
4
5
6
7
8
9






                                                                             
  
 
                     






                                                                    

    




                                                
                                                                                                



                                                        
                           
    
 
{ stdenv, fetchFromGitHub, autoreconfHook, openssl, tdb, zlib, flex, bison }:

let

  baseName = "fdm";
  version = "1.9.0.20170124";

in

stdenv.mkDerivation {
  name = "${baseName}-${version}";

  src = fetchFromGitHub {
    owner = "nicm";
    repo = baseName;
    rev = "cae4ea37b6b296d1b2e48f62934ea3a7f6085e33";
    sha256 = "048191wdv1yprwinipmx2152gvd2iq1ssv7xfb1bzh6zirh1ya3n";
  };

  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";
    maintainers = with maintainers; [ raskin ];
    platforms = with platforms; linux;
    homepage = https://github.com/nicm/fdm;
    downloadPage = https://github.com/nicm/fdm/releases;
    license = licenses.isc;
  };
}