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