···11+{ stdenv, fetchurl, glib, pkgconfig, mesa, libX11, libXext, libXfixes
22+, libXdamage, libXcomposite, libXi, cogl, pango, atk, json_glib,
33+gobjectIntrospection
44+}:
55+66+let
77+ ver_maj = "1.24";
88+ ver_min = "0";
99+in
1010+stdenv.mkDerivation rec {
1111+ name = "clutter-${ver_maj}.${ver_min}";
1212+1313+ src = fetchurl {
1414+ url = "mirror://gnome/sources/clutter/${ver_maj}/${name}.tar.xz";
1515+ sha256 = "85c87d5745b97af7633776419a47421aae7cea66c1b870f88cc5e06a4c5626e6";
1616+ };
1717+1818+ nativeBuildInputs = [ pkgconfig ];
1919+ propagatedBuildInputs =
2020+ [ libX11 mesa libXext libXfixes libXdamage libXcomposite libXi cogl pango
2121+ atk json_glib gobjectIntrospection
2222+ ];
2323+2424+ configureFlags = [ "--enable-introspection" ]; # needed by muffin AFAIK
2525+2626+ #doCheck = true; # no tests possible without a display
2727+2828+ meta = {
2929+ description = "Clutter, a library for creating fast, dynamic graphical user interfaces";
3030+3131+ longDescription =
3232+ '' Clutter is free software library for creating fast, compelling,
3333+ portable, and dynamic graphical user interfaces. It is a core part
3434+ of MeeGo, and is supported by the open source community. Its
3535+ development is sponsored by Intel.
3636+3737+ Clutter uses OpenGL for rendering (and optionally OpenGL|ES for use
3838+ on mobile and embedded platforms), but wraps an easy to use,
3939+ efficient, flexible API around GL's complexity.
4040+4141+ Clutter enforces no particular user interface style, but provides a
4242+ rich, generic foundation for higher-level toolkits tailored to
4343+ specific needs.
4444+ '';
4545+4646+ license = stdenv.lib.licenses.lgpl2Plus;
4747+ homepage = http://www.clutter-project.org/;
4848+4949+ maintainers = with stdenv.lib.maintainers; [ urkud lethalman ];
5050+ platforms = stdenv.lib.platforms.mesaPlatforms;
5151+ };
5252+}