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

33 lines
986 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config
, libdrm, libva, libX11, libXext, libXfixes, wayland
}:
stdenv.mkDerivation rec {
pname = "libva-utils";
2021-09-30 12:03:13 +00:00
version = "2.13.0";
src = fetchFromGitHub {
2020-04-23 18:51:52 +00:00
owner = "intel";
repo = "libva-utils";
rev = version;
2021-09-30 12:03:13 +00:00
sha256 = "0ahbwikdb0chf76whm62zz0a7zqil3gzsxmq38ccbqlmnnyjkbbb";
};
nativeBuildInputs = [ meson ninja pkg-config ];
buildInputs = [ libdrm libva libX11 libXext libXfixes wayland ];
meta = with lib; {
2020-04-23 18:51:52 +00: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 18:51:52 +00:00
maintainers = with maintainers; [ primeos ];
platforms = platforms.unix;
};
}