34 stdenv.mkDerivation rec {
35 pname = "mediastreamer2";
38 src = fetchFromGitLab {
39 domain = "gitlab.linphone.org";
44 sha256 = "0aqma9834lzy1593qb9qwmzvzn50y6fzhmmg493jznf8977b0gsw";
48 # Plugins directory is normally fixed during compile time. This patch makes
49 # it possible to set the plugins directory run time with an environment
50 # variable MEDIASTREAMER_PLUGINS_DIR. This makes it possible to construct a
51 # plugin directory with desired plugins and wrap executables so that the
52 # environment variable points to that directory.
64 propagatedBuildInputs = [
92 # Do not build static libraries
93 cmakeFlags = [ "-DENABLE_STATIC=NO" ];
95 NIX_CFLAGS_COMPILE = toString [
96 "-DGIT_VERSION=\"v${version}\""
97 "-Wno-error=deprecated-declarations"
98 "-Wno-error=cast-function-type"
99 "-Wno-error=stringop-truncation"
100 "-Wno-error=stringop-overflow"
102 NIX_LDFLAGS = "-lXext";
105 description = "A powerful and lightweight streaming engine specialized for voice/video telephony applications";
106 homepage = "http://www.linphone.org/technical-corner/mediastreamer2";
107 license = licenses.gpl3Only;
108 platforms = platforms.linux;
109 maintainers = with maintainers; [ jluttine ];