forked from mirrors/nixpkgs
62 lines
1.8 KiB
Nix
62 lines
1.8 KiB
Nix
{stdenv, fetchurl, cmake, pkgconfig
|
|
, libXrender, renderproto, gtk, libwnck, pango, cairo
|
|
, GConf, libXdamage, damageproto, libxml2, libxslt, glibmm
|
|
, metacity
|
|
, 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
|
|
, makeWrapper
|
|
}:
|
|
let
|
|
s = # Generated upstream information
|
|
rec {
|
|
baseName="compiz";
|
|
version="0.9.10.0";
|
|
name="${baseName}-${version}";
|
|
hash="0kvjib0ns02cikpsjq5hlf746yjx2gkfh373pvrb25lzv3rs1qax";
|
|
url="https://launchpad.net/compiz/0.9.10/0.9.10.0/+download/compiz-0.9.10.0.tar.bz2";
|
|
sha256="0kvjib0ns02cikpsjq5hlf746yjx2gkfh373pvrb25lzv3rs1qax";
|
|
};
|
|
buildInputs = [cmake pkgconfig
|
|
libXrender renderproto gtk libwnck pango cairo
|
|
GConf libXdamage damageproto libxml2 libxslt glibmm libstartup_notification
|
|
metacity
|
|
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
|
|
makeWrapper
|
|
];
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
inherit (s) name version;
|
|
src = fetchurl {
|
|
inherit (s) url sha256;
|
|
};
|
|
inherit buildInputs;
|
|
|
|
NIX_CFLAGS_COMPILE = " -Wno-error ";
|
|
NIX_CFLAGS_LINK = "-lm -ldl -pthread -lutil";
|
|
postInstall = ''
|
|
wrapProgram "$out/bin/ccsm" \
|
|
--prefix PYTHONPATH : "$PYTHONPATH" \
|
|
--prefix PYTHONPATH : "$out/lib/${python.libPrefix}/site-packages"
|
|
'';
|
|
|
|
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;
|
|
};
|
|
}
|