nixpkgs/pkgs/desktops/gnome-3/core/mutter/default.nix

29 lines
1,003 B
Nix
Raw Normal View History

2014-01-20 12:34:21 +01:00
{ fetchurl, stdenv, pkgconfig, gnome3, intltool, gobjectIntrospection, upower, cairo
2014-01-21 14:10:46 +01:00
, pango, cogl, clutter, libstartup_notification, libcanberra, zenity, libcanberra_gtk3
, libtool }:
2014-01-20 12:34:21 +01:00
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";
2014-01-21 14:10:46 +01:00
configureFlags = "--with-x --disable-static --enable-shape --enable-sm --enable-startup-notification --enable-xsync --enable-verbose-mode --with-libcanberra";
2014-01-20 12:34:21 +01:00
buildInputs = with gnome3;
[ pkgconfig intltool glib gobjectIntrospection gtk gsettings_desktop_schemas upower
2014-01-21 14:10:46 +01:00
gnome_desktop cairo pango cogl clutter zenity libstartup_notification libcanberra
libcanberra_gtk3 zenity libtool ];
2014-01-20 12:34:21 +01:00
meta = with stdenv.lib; {
platforms = platforms.linux;
};
}