2012-03-20 16:29:22 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchgit
|
|
|
|
, autoconf
|
|
|
|
, automake
|
|
|
|
, libtool
|
2013-01-10 02:18:05 +00:00
|
|
|
, xorgserver, xproto, fontsproto, xf86driproto, renderproto, videoproto, pixman
|
2012-03-20 16:29:22 +00:00
|
|
|
, utilmacros
|
|
|
|
, libdrm
|
|
|
|
, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "xf86-video-nouveau-2012-03-05";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = git://anongit.freedesktop.org/nouveau/xf86-video-nouveau;
|
|
|
|
rev = "f5d1cd2cb6808838ae1a188cef888eaa9582c76d";
|
|
|
|
sha256 = "8c20e9ce7897fbd4c5097e4738e80ecca30e6326b758a13fc97f96ccc12fd7d9";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
libtool
|
2013-01-10 02:18:05 +00:00
|
|
|
xorgserver xproto fontsproto xf86driproto renderproto videoproto pixman
|
2012-03-20 16:29:22 +00:00
|
|
|
utilmacros
|
|
|
|
libdrm
|
|
|
|
pkgconfig
|
|
|
|
];
|
|
|
|
|
2013-01-10 02:18:05 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-I${pixman}/include/pixman-1";
|
|
|
|
|
2012-03-20 16:29:22 +00:00
|
|
|
preConfigure = "autoreconf -vfi";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://nouveau.freedesktop.org/wiki/;
|
|
|
|
|
|
|
|
description = "The xorg driver for nouveau-driven video cards";
|
|
|
|
|
|
|
|
license = "gplv2";
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.shlevy ];
|
|
|
|
};
|
|
|
|
}
|