Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
49 lines
964 B
Nix
49 lines
964 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
openssl,
|
|
tdb,
|
|
zlib,
|
|
flex,
|
|
bison,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fdm";
|
|
version = "2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nicm";
|
|
repo = "fdm";
|
|
rev = version;
|
|
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/fdm
|
|
install -m644 MANUAL $out/share/doc/fdm
|
|
cp -R examples $out/share/doc/fdm
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Mail fetching and delivery tool - should do the job of getmail and procmail";
|
|
maintainers = with maintainers; [ raskin ];
|
|
platforms = with platforms; linux ++ darwin;
|
|
homepage = "https://github.com/nicm/fdm";
|
|
downloadPage = "https://github.com/nicm/fdm/releases";
|
|
license = licenses.isc;
|
|
};
|
|
}
|