nixpkgs/pkgs/development/libraries/libva/utils.nix

33 lines
993 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, meson, ninja, pkg-config
, libdrm, libva, libX11, libXext, libXfixes, wayland
}:
stdenv.mkDerivation rec {
pname = "libva-utils";
inherit (libva) version;
src = fetchFromGitHub {
2020-04-23 20:51:52 +02:00
owner = "intel";
repo = "libva-utils";
rev = version;
2020-09-12 14:53:06 +02:00
sha256 = "1xylc940ffhqay9lyy48872cfw61ziky8dw21vm69psngfz3zs9n";
};
nativeBuildInputs = [ meson ninja pkg-config ];
buildInputs = [ libdrm libva libX11 libXext libXfixes wayland ];
meta = with stdenv.lib; {
2020-04-23 20:51:52 +02:00
description = "A collection of utilities and examples for VA-API";
longDescription = ''
libva-utils is a collection of utilities and examples to exercise VA-API
in accordance with the libva project.
'';
homepage = "https://github.com/intel/libva-utils";
changelog = "https://raw.githubusercontent.com/intel/libva-utils/${version}/NEWS";
license = licenses.mit;
2020-04-23 20:51:52 +02:00
maintainers = with maintainers; [ primeos ];
platforms = platforms.unix;
};
}