nixpkgs/pkgs/development/libraries/openh264/default.nix
Christian S e4c64ae930 openh264: 1.7.0 -> 1.8.0 (#49544)
encoder fixes, clang compilation error for ARM
2018-10-31 20:47:24 +01:00

26 lines
596 B
Nix

{ stdenv, fetchFromGitHub, nasm }:
stdenv.mkDerivation rec {
name = "openh264-${version}";
version = "1.8.0";
src = fetchFromGitHub {
owner = "cisco";
repo = "openh264";
rev = "v${version}";
sha256 = "1pl7hpk25nh7lcx1lbbv984gvnim0d6hxf4qfmrjjfjf6w37sjw4";
};
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;
license = stdenv.lib.licenses.bsd2;
platforms = platforms.unix;
};
}