summary refs log tree commit diff
path: root/pkgs/applications/window-managers/compiz/core.nix
blob: 497b9c279ca01f313fae7f32b5fe1001870027ec (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
{ stdenv, fetchurl, intltool, pkgconfig, xlibs, mesa, libxml2, libxslt
, libstartup_notification, libpng, glib, gtk, gnome, dbus_glib, librsvg, bzip2 }:

let version = "0.8.6"; in

stdenv.mkDerivation {
  name = "compiz-${version}";

  src = fetchurl {
    url = "http://releases.compiz.org/${version}/compiz-${version}.tar.bz2";
    sha256 = "132gmdawjmrmvazm31h3r3wwq97h58hz17yyc9sa6q2nkfsnkpy4";
  };

  patches =
    [ # Allow the path to the Compiz plugin library and metadata
      # directories to be overriden through $COMPIZ_PLUGINDIR and
      # $COMPIZ_METADATADIR, respectively.
      ./plugindir-core.patch
    ];

  buildInputs =
    [ intltool pkgconfig libpng glib
      gtk gnome.libwnck gnome.GConf dbus_glib librsvg bzip2
    ];

  propagatedBuildInputs =
    [ xlibs.xlibs xlibs.libXfixes xlibs.libXrandr xlibs.libXrender
      xlibs.libXdamage xlibs.libXcomposite xlibs.libXinerama
      libstartup_notification mesa libxml2 libxslt 
    ];

  meta = {
    homepage = http://www.compiz.org/;
    description = "A compositing window manager";
  };
}