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

41 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, pkgconfig
, libdrm, libva, libX11, libXext, libXfixes, wayland, meson, ninja
}:
stdenv.mkDerivation rec {
pname = "libva-utils";
inherit (libva) version;
src = fetchFromGitHub {
2020-04-23 19:51:52 +01:00
owner = "intel";
repo = "libva-utils";
rev = version;
2020-04-23 19:51:52 +01:00
sha256 = "13a0dccphi4cpr2cx45kg4djxsssi3d1fcjrkx27b16xiayp5lx9";
};
nativeBuildInputs = [ meson ninja pkgconfig ];
buildInputs = [ libdrm libva libX11 libXext libXfixes wayland ];
mesonFlags = [
"-Ddrm=true"
"-Dx11=true"
"-Dwayland=true"
];
enableParallelBuilding = true;
meta = with stdenv.lib; {
2020-04-23 19:51:52 +01: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 19:51:52 +01:00
maintainers = with maintainers; [ primeos ];
platforms = platforms.unix;
};
}