nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.09 32 lines 993 B view raw
1{ stdenv, fetchFromGitHub, meson, ninja, pkg-config 2, libdrm, libva, libX11, libXext, libXfixes, wayland 3}: 4 5stdenv.mkDerivation rec { 6 pname = "libva-utils"; 7 inherit (libva) version; 8 9 src = fetchFromGitHub { 10 owner = "intel"; 11 repo = "libva-utils"; 12 rev = version; 13 sha256 = "081hw2jnj64bpqwh9p41n5caqzm6dnj1ggnvvc5wrf4m2z1h2bjb"; 14 }; 15 16 nativeBuildInputs = [ meson ninja pkg-config ]; 17 18 buildInputs = [ libdrm libva libX11 libXext libXfixes wayland ]; 19 20 meta = with stdenv.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; [ primeos ]; 30 platforms = platforms.unix; 31 }; 32}