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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
938 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, openssl, tdb, zlib, flex, bison }:
2020-12-30 14:16:42 +01:00
stdenv.mkDerivation rec {
pname = "fdm";
2023-01-14 21:01:57 +01:00
version = "2.2";
src = fetchFromGitHub {
owner = "nicm";
2020-12-30 14:16:42 +01:00
repo = pname;
rev = version;
2023-07-03 17:47:54 +02:00
hash = "sha256-Gqpz+N1ELU5jQpPJAG9s8J9UHWOJNhkT+s7+xuQazd0=";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ openssl tdb zlib flex bison ];
postInstall = ''
install fdm-sanitize $out/bin
mkdir -p $out/share/doc/${pname}
install -m644 MANUAL $out/share/doc/${pname}
cp -R examples $out/share/doc/${pname}
'';
meta = with lib; {
description = "Mail fetching and delivery tool - should do the job of getmail and procmail";
2023-01-20 15:30:48 +01:00
maintainers = with maintainers; [ raskin ];
2023-07-03 17:47:54 +02:00
platforms = with platforms; linux ++ darwin;
homepage = "https://github.com/nicm/fdm";
downloadPage = "https://github.com/nicm/fdm/releases";
2018-09-10 21:23:27 +02:00
license = licenses.isc;
};
}