summary refs log tree commit diff
path: root/pkgs/development/libraries/clutter/default.nix
blob: 58fd70165d9909f019ffe7e1549389f57fecbf3a (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
44
{ fetchurl, stdenv, pkgconfig, mesa, libXi, libXfixes, libXdamage
, libXcomposite, cairo, glib, pango, gtk, json_glib }:

stdenv.mkDerivation rec {
  name = "clutter-1.4.2";

  src = fetchurl {
    url = "http://source.clutter-project.org/sources/clutter/1.4/${name}.tar.bz2";
    sha256 = "14l8wgk5jdwsnjf991qgzl115kjs1xywil2awlrwj1airsn6gzcj";
  };

  buildInputs = [ pkgconfig ];

  # There are all listed in the `Requires' field of `clutter-x11-1.0.pc'.
  propagatedBuildInputs =
    [ mesa cairo glib pango gtk json_glib
      libXi libXfixes libXdamage libXcomposite
    ];

  meta = {
    description = "Clutter, a library for creating fast, dynamic graphical user interfaces";

    longDescription =
      '' Clutter is free software library for creating fast, compelling,
         portable, and dynamic graphical user interfaces.  It is a core part
         of MeeGo, and is supported by the open source community.  Its
         development is sponsored by Intel.

         Clutter uses OpenGL for rendering (and optionally OpenGL|ES for use
         on mobile and embedded platforms), but wraps an easy to use,
         efficient, flexible API around GL's complexity.

         Clutter enforces no particular user interface style, but provides a
         rich, generic foundation for higher-level toolkits tailored to
         specific needs.
      '';

    license = "LGPLv2+";
    homepage = http://www.clutter-project.org/;

    maintainers = [ stdenv.lib.maintainers.ludo ];
    platforms = stdenv.lib.platforms.gnu;  # arbitrary choice
  };
}