Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config 2, libdrm, libva, libX11, libXext, libXfixes, wayland 3}: 4 5stdenv.mkDerivation rec { 6 pname = "libva-utils"; 7 version = "2.18.2"; 8 9 src = fetchFromGitHub { 10 owner = "intel"; 11 repo = "libva-utils"; 12 rev = version; 13 sha256 = "sha256-D7GPS/46jiIY8K0qPlMlYhmn+yWhTA+I6jAuxclNJSU="; 14 }; 15 16 nativeBuildInputs = [ meson ninja pkg-config ]; 17 18 buildInputs = [ libdrm libva libX11 libXext libXfixes wayland ]; 19 20 meta = with lib; { 21 description = "A collection of utilities and examples for VA-API"; 22 longDescription = '' 23 libva-utils is a collection of utilities and examples to exercise VA-API 24 in accordance with the libva project. 25 ''; 26 homepage = "https://github.com/intel/libva-utils"; 27 changelog = "https://raw.githubusercontent.com/intel/libva-utils/${version}/NEWS"; 28 license = licenses.mit; 29 maintainers = with maintainers; [ SuperSandro2000 ]; 30 platforms = platforms.unix; 31 }; 32}