baresip: assert that all expected modules were compiled

authored by

Colin and committed by
Emery Hemingway
7245ee83 e5e7f767

+64
+64
pkgs/by-name/ba/baresip/package.nix
··· 123 123 -DHAVE_INTTYPES_H -D__GLIBC__ 124 124 -D__need_timeval -D__need_timespec -D__need_time_t ''; 125 125 126 + doInstallCheck = true; 127 + # CMake feature detection is prone to breakage between upgrades: 128 + # spot-check that the optional modules we care about were compiled 129 + postInstallCheck = lib.concatMapStringsSep "\n" (m: "test -x $out/lib/baresip/modules/${m}.so") [ 130 + "account" 131 + "alsa" 132 + "aubridge" 133 + "auconv" 134 + "aufile" 135 + "auresamp" 136 + "ausine" 137 + "avcodec" 138 + "avfilter" 139 + "avformat" 140 + "cons" 141 + "contact" 142 + "ctrl_dbus" 143 + "ctrl_tcp" 144 + "debug_cmd" 145 + "dtls_srtp" 146 + "ebuacip" 147 + "echo" 148 + "evdev" 149 + "fakevideo" 150 + "g711" 151 + "g722" 152 + "g726" 153 + "httpd" 154 + "httpreq" 155 + "ice" 156 + "l16" 157 + "menu" 158 + "mixausrc" 159 + "mixminus" 160 + "multicast" 161 + "mwi" 162 + "natpmp" 163 + "netroam" 164 + "pcp" 165 + "plc" 166 + "portaudio" 167 + "presence" 168 + "rtcpsummary" 169 + "sdl" 170 + "selfview" 171 + "serreg" 172 + "snapshot" 173 + "sndfile" 174 + "srtp" 175 + "stdio" 176 + "stun" 177 + "swscale" 178 + "syslog" 179 + "turn" 180 + "uuid" 181 + "v4l2" 182 + "vidbridge" 183 + "vidinfo" 184 + "vp8" 185 + "vp9" 186 + "vumeter" 187 + "x11" 188 + ]; 189 + 126 190 meta = { 127 191 description = "Modular SIP User-Agent with audio and video support"; 128 192 homepage = "https://github.com/baresip/baresip";