1{ stdenv, fetchurl, pkgconfig, xorg }:
2
3stdenv.mkDerivation rec {
4 name = "libvdpau-1.1";
5
6 src = fetchurl {
7 url = "http://people.freedesktop.org/~aplattner/vdpau/${name}.tar.gz";
8 sha256 = "069r4qc934xw3z20hpmg0gx0al7fl1kdik1r46x2dgr0ya1yg95f";
9 };
10
11 buildInputs = with xorg; [ pkgconfig dri2proto libXext ];
12
13 propagatedBuildInputs = [ xorg.libX11 ];
14
15 meta = with stdenv.lib; {
16 homepage = http://people.freedesktop.org/~aplattner/vdpau/;
17 description = "Library to use the Video Decode and Presentation API for Unix (VDPAU)";
18 license = licenses.mit; # expat version
19 platforms = platforms.unix;
20 maintainers = [ maintainers.vcunat ];
21 };
22}