1{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkgconfig
2, libdrm, libva
3}:
4
5stdenv.mkDerivation rec {
6 name = "libva-utils-${version}";
7 inherit (libva) version;
8
9 src = fetchFromGitHub {
10 owner = "01org";
11 repo = "libva-utils";
12 rev = version;
13 sha256 = "02n51cvp8bzzjk4fargwvgh7z71y8spg24hqgaawbp3p3ahh7xxi";
14 };
15
16 nativeBuildInputs = [ autoreconfHook pkgconfig ];
17
18 buildInputs = [ libdrm libva ];
19
20 enableParallelBuilding = true;
21
22 meta = with stdenv.lib; {
23 description = "VAAPI tools: Video Acceleration API";
24 homepage = http://www.freedesktop.org/wiki/Software/vaapi;
25 license = licenses.mit;
26 maintainers = with maintainers; [ garbas ];
27 platforms = platforms.unix;
28 };
29}