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
46 lines
1015 B
Nix
46 lines
1015 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
flex,
|
|
bison,
|
|
sendmailPath ? "/run/wrappers/bin/sendmail",
|
|
versionCheckHook,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "petidomo";
|
|
version = "4.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/petidomo/petidomo-${finalAttrs.version}.tar.gz";
|
|
hash = "sha256-ddNw0fq2MQLJd6YCmIkf9lvq9/Xscl94Ds8xR1hfjXQ=";
|
|
};
|
|
|
|
buildInputs = [
|
|
flex
|
|
bison
|
|
];
|
|
|
|
configureFlags = [ "--with-mta=${sendmailPath}" ];
|
|
|
|
# test.c:43:11: error: implicit declaration of function 'gets'; did you mean 'fgets'?
|
|
env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
doCheck = true;
|
|
|
|
doInstallCheck = true;
|
|
nativeInstallCheckInputs = [ versionCheckHook ];
|
|
|
|
meta = {
|
|
homepage = "https://petidomo.sourceforge.net/";
|
|
description = "Simple and easy to administer mailing list server";
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
platforms = lib.platforms.unix;
|
|
maintainers = [ lib.maintainers.peti ];
|
|
};
|
|
})
|