mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
30 lines
720 B
Nix
30 lines
720 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
|
, libdrm, libva
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libva-utils-${version}";
|
|
inherit (libva) version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "01org";
|
|
repo = "libva-utils";
|
|
rev = version;
|
|
sha256 = "113wdmi4r0qligizj9zmd4a8ml1996x9g2zp2i4pmhb8frv9m8j2";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
buildInputs = [ libdrm libva ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "VAAPI tools: Video Acceleration API";
|
|
homepage = http://www.freedesktop.org/wiki/Software/vaapi;
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ garbas ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|