summary refs log tree commit diff
path: root/pkgs/os-specific/linux/xf86-video-nouveau/default.nix
blob: 876daa7a1ecbc018b1c0d39e3f7a6853871ce5ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{ 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 ];
  };
}