5aae6ee17f
* openh264: 1.8.0 -> 2.0.0 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/openh264/versions
25 lines
573 B
Nix
25 lines
573 B
Nix
{ stdenv, fetchFromGitHub, nasm }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "openh264";
|
|
version = "2.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cisco";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0sa4n4xshmiiv6h767jjq9qxapxxjwwwm3bpcignkxv5xn5sls5r";
|
|
};
|
|
|
|
nativeBuildInputs = [ nasm ];
|
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A codec library which supports H.264 encoding and decoding";
|
|
homepage = "https://www.openh264.org";
|
|
license = licenses.bsd2;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|