push sheeet
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

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
c-ares,
openssl ? null,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "sipsak";
version = "4.5.12.1";
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [
openssl
c-ares
];
# -fcommon: workaround build failure on -fno-common toolchains like upstream
# gcc-10. Otherwise build fails as:
# ld: transport.o:/build/source/sipsak.h:323: multiple definition of
# `address'; auth.o:/build/source/sipsak.h:323: first defined here
env.NIX_CFLAGS_COMPILE = "-std=gnu89 -fcommon";
src = fetchFromGitHub {
owner = "sipwise";
repo = "sipsak";
tag = "mr${finalAttrs.version}";
hash = "sha256-j4KF87krXvY2pcepEYRRxtadV8QxHRGICK6VrmXw5BQ=";
};
passthru = {
updateScript = nix-update-script { };
};
meta = {
homepage = "https://github.com/sipwise/sipsak";
description = "SIP Swiss army knife";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ sheenobu ];
platforms = with lib.platforms; unix;
mainProgram = "sipsak";
};
})