nixpkgs/pkgs/development/libraries/openh264/default.nix

24 lines
556 B
Nix
Raw Normal View History

2015-08-26 15:42:13 +00:00
{ stdenv, fetchurl, nasm }:
stdenv.mkDerivation rec {
2016-04-12 20:50:28 +00:00
name = "openh264-1.5.0";
2015-08-26 15:42:13 +00:00
src = fetchurl {
2016-04-12 20:50:28 +00:00
url = "https://github.com/cisco/openh264/archive/v1.5.0.tar.gz";
sha256 = "1d97dh5hzmy46jamfw03flvcz8md1hxp6y5n0b787h8ks7apn1wq";
2015-08-26 15:42:13 +00: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 20:24:05 +00:00
license = stdenv.lib.licenses.bsd2;
platforms = platforms.unix;
2015-08-26 15:42:13 +00:00
};
}