2012-11-25 23:58:04 +04:00
|
|
|
{stdenv, fetchurl, cmake, pkgconfig
|
|
|
|
, libXrender, renderproto, gtk, libwnck, pango, cairo
|
|
|
|
, GConf, libXdamage, damageproto, libxml2, libxslt, glibmm
|
2013-02-23 18:10:01 +04:00
|
|
|
, metacity
|
2012-11-25 23:58:04 +04:00
|
|
|
, libstartup_notification, libpthreadstubs, libxcb, intltool
|
|
|
|
, ORBit2, libXau
|
|
|
|
, dbus, dbus_glib, librsvg, mesa
|
|
|
|
, libXdmcp, libnotify, python
|
|
|
|
, hicolor_icon_theme, libjpeg_turbo, libsigcxx, protobuf, pygtk, pythonDBus
|
|
|
|
, xdg_utils
|
|
|
|
, gettext, boost, pyrex
|
2012-11-26 01:43:30 +04:00
|
|
|
, makeWrapper
|
2012-11-25 23:58:04 +04:00
|
|
|
}:
|
|
|
|
let
|
|
|
|
s = # Generated upstream information
|
|
|
|
rec {
|
|
|
|
baseName="compiz";
|
2013-02-23 18:10:01 +04:00
|
|
|
version="0.9.9.0";
|
|
|
|
name="compiz-${version}";
|
|
|
|
url="https://launchpad.net/compiz/0.9.9/${version}/+download/${name}.tar.bz2";
|
|
|
|
sha256="0nxv9lv0zwzs82p2d5g38sbvzbqgfs837xdgwc26lh5wdv31d93s";
|
2012-11-25 23:58:04 +04:00
|
|
|
};
|
|
|
|
buildInputs = [cmake pkgconfig
|
|
|
|
libXrender renderproto gtk libwnck pango cairo
|
|
|
|
GConf libXdamage damageproto libxml2 libxslt glibmm libstartup_notification
|
2013-02-23 18:10:01 +04:00
|
|
|
metacity
|
2012-11-25 23:58:04 +04:00
|
|
|
libpthreadstubs libxcb intltool
|
|
|
|
ORBit2 libXau
|
|
|
|
dbus dbus_glib librsvg mesa
|
|
|
|
libXdmcp libnotify python
|
|
|
|
hicolor_icon_theme libjpeg_turbo libsigcxx protobuf pygtk pythonDBus
|
|
|
|
xdg_utils
|
|
|
|
gettext boost pyrex
|
2012-11-26 01:43:30 +04:00
|
|
|
makeWrapper
|
2012-11-25 23:58:04 +04:00
|
|
|
];
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
inherit (s) name version;
|
|
|
|
src = fetchurl {
|
|
|
|
inherit (s) url sha256;
|
|
|
|
};
|
|
|
|
inherit buildInputs;
|
|
|
|
|
2013-02-23 18:10:01 +04:00
|
|
|
NIX_CFLAGS_COMPILE = " -Wno-error ";
|
|
|
|
NIX_CFLAGS_LINK = "-lm -ldl -pthread -lutil";
|
2012-11-26 01:43:30 +04:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram "$out/bin/ccsm" \
|
|
|
|
--prefix PYTHONPATH : "$PYTHONPATH" \
|
|
|
|
--prefix PYTHONPATH : "$out/lib/${python.libPrefix}/site-packages"
|
|
|
|
'';
|
2012-11-25 23:58:04 +04:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Compoziting window manager";
|
|
|
|
homepage = "http://launchpad.net/compiz/";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
inherit (s) version;
|
|
|
|
};
|
|
|
|
}
|