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