20 stdenv.mkDerivation rec {
21 pname = "libva" + lib.optionalString minimal "-minimal";
22 # nixpkgs-update: no auto update
25 src = fetchFromGitHub {
29 sha256 = "sha256-ur59cqdZqXIY2dDUSie9XsxyRomVBxIW2IVKAgWYC38=";
45 ++ lib.optionals (!minimal) [
54 # TODO: share libs between minimal and !minimal - perhaps just symlink them
56 # Add FHS paths for non-NixOS applications.
58 lib.optionals stdenv.hostPlatform.isLinux [
59 "--with-drivers-path=${mesa.driverLink}/lib/dri:/usr/lib/dri:/usr/lib32/dri"
61 ++ lib.optionals (!minimal) [ "--enable-glx" ];
63 installFlags = [ "dummy_drv_video_ladir=$(out)/lib/dri" ];
66 homepage = "https://www.freedesktop.org/wiki/Software/vaapi/";
67 license = licenses.mit;
68 description = "VAAPI library: Video Acceleration API";
69 platforms = platforms.unix;
70 maintainers = with maintainers; [ SuperSandro2000 ];