9 stdenv.mkDerivation rec {
11 version = "linphone-4.4.1";
13 src = fetchFromGitLab {
14 domain = "gitlab.linphone.org";
18 rev = "5603a432be2ed10f5d5a5ce068ef83ab2a996d6b";
19 sha256 = "sha256-AqZ7tsNZw2Djgyo1JBJbT/c3eQVyEn6r3CT6DQLD/B8=";
22 nativeBuildInputs = [ cmake ];
23 buildInputs = [ mediastreamer openh264 ];
25 # Do not build static libraries
28 "-DCMAKE_SKIP_INSTALL_RPATH=ON"
31 # CMAKE_INSTALL_PREFIX has no effect so let's install manually. See:
32 # https://gitlab.linphone.org/BC/public/msopenh264/issues/1
34 mkdir -p $out/lib/mediastreamer/plugins
35 cp src/libmsopenh264.so $out/lib/mediastreamer/plugins/
39 description = "H.264 encoder/decoder plugin for mediastreamer2. Part of the Linphone project";
40 homepage = "https://www.linphone.org/technical-corner/mediastreamer2";
41 license = licenses.gpl2;
42 platforms = platforms.linux;
43 maintainers = with maintainers; [ jluttine ];