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
54 lines
1009 B
Nix
54 lines
1009 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
ncurses,
|
|
libpcap,
|
|
cmake,
|
|
openssl,
|
|
lksctp-tools,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "sipp";
|
|
version = "3.7.3-unstable-2025-01-22";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SIPp";
|
|
repo = "sipp";
|
|
rev = "464cf74c7321069b51c10f0c37f19ba16c2e7138";
|
|
hash = "sha256-mloeBKgDXmsa/WAUhlDsgNdhK8dpisGf3ti5UQQchJ8=";
|
|
leaveDotGit = true;
|
|
};
|
|
|
|
cmakeFlags = [
|
|
"-DUSE_PCAP=1"
|
|
"-DUSE_SSL=1"
|
|
"-DUSE_SCTP=${if stdenv.hostPlatform.isLinux then "1" else "0"}"
|
|
|
|
# file RPATH_CHANGE could not write new RPATH
|
|
"-DCMAKE_SKIP_BUILD_RPATH=ON"
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
buildInputs = [
|
|
ncurses
|
|
libpcap
|
|
openssl
|
|
]
|
|
++ lib.optional (stdenv.hostPlatform.isLinux) lksctp-tools;
|
|
|
|
meta = {
|
|
homepage = "http://sipp.sf.net";
|
|
description = "SIPp testing tool";
|
|
mainProgram = "sipp";
|
|
license = lib.licenses.gpl3;
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|