mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
33 lines
993 B
Nix
33 lines
993 B
Nix
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config
|
|
, libdrm, libva, libX11, libXext, libXfixes, wayland
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libva-utils";
|
|
version = "2.17.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "intel";
|
|
repo = "libva-utils";
|
|
rev = version;
|
|
sha256 = "sha256-zv62Jznifw3GG5n8CIE7rJu0POx0aT8btO9N6CoBfAE=";
|
|
};
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
|
|
|
buildInputs = [ libdrm libva libX11 libXext libXfixes wayland ];
|
|
|
|
meta = with lib; {
|
|
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;
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|