nixpkgs-suyu/pkgs/tools/X11/vdpauinfo/default.nix

23 lines
737 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, libvdpau }:
stdenv.mkDerivation rec {
2020-02-15 18:14:56 +01:00
pname = "vdpauinfo";
version = "1.3";
2013-11-19 10:12:45 +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";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libvdpau ];
meta = with lib; {
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;
maintainers = [ maintainers.vcunat ];
};
}