2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libvdpau }:
|
2010-12-27 18:30:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-02-15 17:14:56 +00:00
|
|
|
pname = "vdpauinfo";
|
|
|
|
version = "1.3";
|
2013-11-19 09:12:45 +00:00
|
|
|
|
2010-12-27 18:30:52 +00:00
|
|
|
src = fetchurl {
|
2020-02-15 17:14:56 +00:00
|
|
|
url = "https://gitlab.freedesktop.org/vdpau/vdpauinfo/uploads/6fa9718c507ef0fb6966170ef55344bf/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "0s6jdadnycyd1agsnfx7hrf17hmipasx1fpmppd4m1z6i9sp1i6g";
|
2010-12-27 18:30:52 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libvdpau ];
|
2010-12-27 18:30:52 +00:00
|
|
|
|
2014-12-25 08:42:31 +00:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01: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;
|
|
|
|
maintainers = [ maintainers.vcunat ];
|
2010-12-27 18:30:52 +00:00
|
|
|
};
|
|
|
|
}
|