nixpkgs/pkgs/development/libraries/libva-utils/default.nix
Michael Weiss 9ab24ec76b libva-utils: refactor
Note: This doesn't affect the result.
2020-05-29 20:48:15 +02:00

33 lines
993 B
Nix

{ stdenv, fetchFromGitHub, meson, ninja, pkg-config
, libdrm, libva, libX11, libXext, libXfixes, wayland
}:
stdenv.mkDerivation rec {
pname = "libva-utils";
inherit (libva) version;
src = fetchFromGitHub {
owner = "intel";
repo = "libva-utils";
rev = version;
sha256 = "13a0dccphi4cpr2cx45kg4djxsssi3d1fcjrkx27b16xiayp5lx9";
};
nativeBuildInputs = [ meson ninja pkg-config ];
buildInputs = [ libdrm libva libX11 libXext libXfixes wayland ];
meta = with stdenv.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; [ primeos ];
platforms = platforms.unix;
};
}