summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/core/mutter/default.nix
blob: 5cb865bcefdfa273f5cb4a57db48d0dc0466db39 (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
{ fetchurl, stdenv, pkgconfig, gnome3, intltool, gobjectIntrospection, upower, cairo
, pango, cogl, clutter }:


stdenv.mkDerivation rec {
  name = "mutter-3.10.2";

  src = fetchurl {
    url = "mirror://gnome/sources/mutter/3.10/${name}.tar.xz";
    sha256 = "000iclb96mgc4rp2q0cy72nfwyfzl6avijl9nmk87f5sgyy670a3";
  };

  # fatal error: gio/gunixfdlist.h: No such file or directory
  NIX_CFLAGS_COMPILE = "-I${gnome3.glib}/include/gio-unix-2.0";

  buildInputs = with gnome3;
    [ pkgconfig intltool glib gobjectIntrospection gtk gsettings_desktop_schemas upower
      gnome_desktop cairo pango cogl clutter zenity ];

  meta = with stdenv.lib; {
    platforms = platforms.linux;
  };

}