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
53 lines
997 B
Nix
53 lines
997 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoconf,
|
|
automake,
|
|
sqlite,
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "opensmtpd-table-sqlite";
|
|
version = "1.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "OpenSMTPD";
|
|
repo = "table-sqlite";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-Y5AveTo+Ol6cMcxOW3/GMZZD+17HiQdQ4Vg5WHPjKgA=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
buildInputs = [
|
|
sqlite
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
autoconf
|
|
automake
|
|
];
|
|
|
|
configureFlags = [
|
|
"--sysconfdir=/etc"
|
|
"--localstatedir=/var"
|
|
"--with-path-socket=/run"
|
|
"--with-path-pidfile=/run"
|
|
];
|
|
|
|
preConfigure = ''
|
|
sh bootstrap
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://www.opensmtpd.org/";
|
|
description = "SQLite tables for the OpenSMTPD mail server";
|
|
changelog = "https://github.com/OpenSMTPD/table-sqlite/releases/tag/${finalAttrs.version}";
|
|
license = lib.licenses.isc;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = with lib.maintainers; [
|
|
pks
|
|
];
|
|
};
|
|
})
|