2022-10-21 18:38:19 +00:00
|
|
|
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, libvdpau }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "vdpauinfo";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "1.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-10-21 18:38:19 +00:00
|
|
|
url = "https://gitlab.freedesktop.org/vdpau/vdpauinfo/-/archive/${version}/${pname}-${version}.tar.bz2";
|
|
|
|
hash = "sha256-uOs/r8Ow7KvSpY1NhD2A+D4Qs6iWJe4fZGfVj6nIiCw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ libvdpau ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://people.freedesktop.org/~aplattner/vdpau/";
|
|
|
|
description = "Tool to query the Video Decode and Presentation API for Unix (VDPAU) abilities of the system";
|
|
|
|
license = licenses.mit; # expat version
|
|
|
|
platforms = platforms.unix;
|
2022-10-21 18:38:19 +00:00
|
|
|
maintainers = with maintainers; [ vcunat ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|