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

23 lines
524 B
Nix
Raw Normal View History

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