1 { lib, stdenv, fetchFromGitHub, autoreconfHook, c-ares, openssl ? null }:
3 stdenv.mkDerivation rec {
7 nativeBuildInputs = [ autoreconfHook ];
13 # -fcommon: workaround build failure on -fno-common toolchains like upstream
14 # gcc-10. Otherwise build fails as:
15 # ld: transport.o:/build/source/sipsak.h:323: multiple definition of
16 # `address'; auth.o:/build/source/sipsak.h:323: first defined here
17 NIX_CFLAGS_COMPILE = "-std=gnu89 -fcommon";
19 src = fetchFromGitHub {
23 hash = "sha256-y9P6t3xjazRNT6lDZAx+CttdyXruC6Q14b8XF9loeU4=";
27 homepage = "https://github.com/sipwise/sipsak";
28 description = "SIP Swiss army knife";
29 license = lib.licenses.gpl2;
30 maintainers = with maintainers; [ sheenobu ];
31 platforms = with platforms; unix;