mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 02:24:27 +00:00
86f293a1e5
Well, either this build is only broken on my system or noone actually uses nouveau? Even when looking into the source tree it seems to require pixman, so I suppose it didn't work for anyone prior to this commit. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
44 lines
953 B
Nix
44 lines
953 B
Nix
{ stdenv
|
|
, fetchgit
|
|
, autoconf
|
|
, automake
|
|
, libtool
|
|
, xorgserver, xproto, fontsproto, xf86driproto, renderproto, videoproto, pixman
|
|
, 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
|
|
xorgserver xproto fontsproto xf86driproto renderproto videoproto pixman
|
|
utilmacros
|
|
libdrm
|
|
pkgconfig
|
|
];
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${pixman}/include/pixman-1";
|
|
|
|
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 ];
|
|
};
|
|
}
|