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