diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libva/utils.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libva/utils.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libva/utils.nix b/nixpkgs/pkgs/development/libraries/libva/utils.nix new file mode 100644 index 00000000000..5b9f4cdd8aa --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/libva/utils.nix @@ -0,0 +1,32 @@ +{ 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 = "081hw2jnj64bpqwh9p41n5caqzm6dnj1ggnvvc5wrf4m2z1h2bjb"; + }; + + 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; + }; +} |