2015-08-26 16:42:13 +01:00
|
|
|
{ stdenv, fetchurl, nasm }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-04-12 21:50:28 +01:00
|
|
|
name = "openh264-1.5.0";
|
2015-08-26 16:42:13 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-04-12 21:50:28 +01:00
|
|
|
url = "https://github.com/cisco/openh264/archive/v1.5.0.tar.gz";
|
|
|
|
sha256 = "1d97dh5hzmy46jamfw03flvcz8md1hxp6y5n0b787h8ks7apn1wq";
|
2015-08-26 16:42:13 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nasm ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
make PREFIX=$out install
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A codec library which supports H.264 encoding and decoding";
|
|
|
|
homepage = http://www.openh264.org;
|
2015-08-26 21:24:05 +01:00
|
|
|
license = stdenv.lib.licenses.bsd2;
|
2015-08-26 16:42:13 +01:00
|
|
|
};
|
|
|
|
}
|