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