1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 17:10:48 +00:00
nixpkgs/pkgs/development/libraries/libvdpau/default.nix
Vladimír Čunát 51fd35e7b5 libvdpau: minor update, fix license
Suse and wikipedia classify it as MIT,
although it seems the headers in sources aren't all consistent.
2014-07-02 22:30:28 +02:00

23 lines
662 B
Nix

{ stdenv, fetchurl, pkgconfig, xorg }:
stdenv.mkDerivation rec {
name = "libvdpau-0.8";
src = fetchurl {
url = "http://people.freedesktop.org/~aplattner/vdpau/${name}.tar.gz";
sha256 = "1v81875hppablq9gpsmvhnyl7z80zihx6arry758pvdbq4fd39vk";
};
buildInputs = with xorg; [ pkgconfig dri2proto libXext ];
propagatedBuildInputs = [ xorg.libX11 ];
configureFlags = stdenv.lib.optional stdenv.isDarwin [ "--build=x86_64" ];
meta = with stdenv.lib; {
homepage = http://people.freedesktop.org/~aplattner/vdpau/;
description = "Library to use the Video Decode and Presentation API for Unix (VDPAU)";
license = licenses.mit;
};
}