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