···1+{ stdenv, fetchurl, glib, pkgconfig, mesa, libX11, libXext, libXfixes
2+, libXdamage, libXcomposite, libXi, cogl, pango, atk, json_glib,
3+gobjectIntrospection
4+}:
5+6+let
7+ ver_maj = "1.24";
8+ ver_min = "0";
9+in
10+stdenv.mkDerivation rec {
11+ name = "clutter-${ver_maj}.${ver_min}";
12+13+ src = fetchurl {
14+ url = "mirror://gnome/sources/clutter/${ver_maj}/${name}.tar.xz";
15+ sha256 = "85c87d5745b97af7633776419a47421aae7cea66c1b870f88cc5e06a4c5626e6";
16+ };
17+18+ nativeBuildInputs = [ pkgconfig ];
19+ propagatedBuildInputs =
20+ [ libX11 mesa libXext libXfixes libXdamage libXcomposite libXi cogl pango
21+ atk json_glib gobjectIntrospection
22+ ];
23+24+ configureFlags = [ "--enable-introspection" ]; # needed by muffin AFAIK
25+26+ #doCheck = true; # no tests possible without a display
27+28+ meta = {
29+ description = "Clutter, a library for creating fast, dynamic graphical user interfaces";
30+31+ longDescription =
32+ '' Clutter is free software library for creating fast, compelling,
33+ portable, and dynamic graphical user interfaces. It is a core part
34+ of MeeGo, and is supported by the open source community. Its
35+ development is sponsored by Intel.
36+37+ Clutter uses OpenGL for rendering (and optionally OpenGL|ES for use
38+ on mobile and embedded platforms), but wraps an easy to use,
39+ efficient, flexible API around GL's complexity.
40+41+ Clutter enforces no particular user interface style, but provides a
42+ rich, generic foundation for higher-level toolkits tailored to
43+ specific needs.
44+ '';
45+46+ license = stdenv.lib.licenses.lgpl2Plus;
47+ homepage = http://www.clutter-project.org/;
48+49+ maintainers = with stdenv.lib.maintainers; [ urkud lethalman ];
50+ platforms = stdenv.lib.platforms.mesaPlatforms;
51+ };
52+}