about summary refs log tree commit diff
path: root/pkgs/development/libraries/mediastreamer/msopenh264.nix
blob: b8a8c64011ca0967282569b0ecdb839d0b70d85d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, autoreconfHook, pkgconfig, mediastreamer, openh264
, fetchgit, cmake
}:

stdenv.mkDerivation rec {
  name = "mediastreamer-openh264-${version}";
  version = "0.0pre20160801";

  src = fetchgit {
    url = "git://git.linphone.org/msopenh264.git";
    rev = "4cb4b134bf0f1538fd0c2c928eee2d5388115abc";
    sha256 = "001km4xy1ifwbg1c19ncc75h867fzfcxy9pxvl4pxqb64169xc1k";
  };

  nativeBuildInputs = [ autoreconfHook cmake pkgconfig ];
  buildInputs = [ mediastreamer openh264 ];

  meta = with stdenv.lib; {
    description = "H.264 encoder/decoder plugin for mediastreamer2";
    homepage = http://www.linphone.org/technical-corner/mediastreamer2/overview;
    license = licenses.gpl2;
    platforms = platforms.linux;
  };
}