at master 1.0 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 meson, 6 ninja, 7 pkg-config, 8 libdrm, 9 libva, 10 libX11, 11 libXext, 12 libXfixes, 13 wayland, 14}: 15 16stdenv.mkDerivation rec { 17 pname = "libva-utils"; 18 version = "2.22.0"; 19 20 src = fetchFromGitHub { 21 owner = "intel"; 22 repo = "libva-utils"; 23 rev = version; 24 sha256 = "sha256-CmhdhNNRO2j8lH7awp9YiKWMvV17GTBsXdrNY06jT2w="; 25 }; 26 27 nativeBuildInputs = [ 28 meson 29 ninja 30 pkg-config 31 ]; 32 33 buildInputs = [ 34 libdrm 35 libva 36 libX11 37 libXext 38 libXfixes 39 wayland 40 ]; 41 42 meta = with lib; { 43 description = "Collection of utilities and examples for VA-API"; 44 longDescription = '' 45 libva-utils is a collection of utilities and examples to exercise VA-API 46 in accordance with the libva project. 47 ''; 48 homepage = "https://github.com/intel/libva-utils"; 49 changelog = "https://raw.githubusercontent.com/intel/libva-utils/${version}/NEWS"; 50 license = licenses.mit; 51 maintainers = with maintainers; [ SuperSandro2000 ]; 52 platforms = platforms.unix; 53 }; 54}