2022-10-08 13:14:54 +00:00
|
|
|
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, libvdpau }:
|
2010-12-27 18:30:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-02-15 17:14:56 +00:00
|
|
|
pname = "vdpauinfo";
|
2022-10-08 13:14:54 +00:00
|
|
|
version = "1.5";
|
2013-11-19 09:12:45 +00:00
|
|
|
|
2010-12-27 18:30:52 +00:00
|
|
|
src = fetchurl {
|
2022-10-08 13:14:54 +00:00
|
|
|
url = "https://gitlab.freedesktop.org/vdpau/vdpauinfo/-/archive/${version}/${pname}-${version}.tar.bz2";
|
|
|
|
hash = "sha256-uOs/r8Ow7KvSpY1NhD2A+D4Qs6iWJe4fZGfVj6nIiCw=";
|
2010-12-27 18:30:52 +00:00
|
|
|
};
|
|
|
|
|
2022-10-08 13:14:54 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
buildInputs = [ libvdpau ];
|
2010-12-27 18:30:52 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://people.freedesktop.org/~aplattner/vdpau/";
|
2010-12-27 18:30:52 +00:00
|
|
|
description = "Tool to query the Video Decode and Presentation API for Unix (VDPAU) abilities of the system";
|
2014-12-25 08:42:31 +00:00
|
|
|
license = licenses.mit; # expat version
|
|
|
|
platforms = platforms.unix;
|
2022-10-08 13:14:54 +00:00
|
|
|
maintainers = with maintainers; [ vcunat ];
|
2010-12-27 18:30:52 +00:00
|
|
|
};
|
|
|
|
}
|