nixpkgs/pkgs/development/libraries/libdrm/default.nix
Eelco Dolstra 40c9c60211 * libdrm updated to 2.4.22.
svn path=/nixpkgs/trunk/; revision=24256
2010-10-12 22:12:54 +00:00

26 lines
637 B
Nix

{stdenv, fetchurl, pkgconfig, libpthreadstubs}:
stdenv.mkDerivation rec {
name = "libdrm-2.4.22";
src = fetchurl {
url = "http://dri.freedesktop.org/libdrm/${name}.tar.bz2";
sha256 = "0gbb7i282i6gf2wzbzkcz5j662v4ixpfjf0gv0090k89wjafbc0b";
};
buildInputs = [ pkgconfig libpthreadstubs ];
preConfigure = ''
# General case: non intel.
if test -n "$crossConfig"; then
configureFlags="$configureFlags --disable-intel";
fi
'';
meta = {
homepage = http://dri.freedesktop.org/libdrm/;
description = "Library for accessing the kernel's Direct Rendering Manager";
license = "bsd";
};
}