2007-11-05 09:32:20 +01:00
|
|
|
args : with args;
|
2008-01-18 13:36:56 +01:00
|
|
|
let localDefs = builderDefs {
|
2007-11-05 09:32:20 +01:00
|
|
|
src = /* put a fetchurl here */
|
|
|
|
fetchurl {
|
|
|
|
url = http://releases.compiz-fusion.org/0.6.0/ccsm-0.6.0.tar.bz2;
|
|
|
|
sha256 = "11vv7ljy79szf74bp7wq969aj05p0x785zbiap1jnqlwq1wjkhir";
|
|
|
|
};
|
|
|
|
buildInputs = (import ../general-dependencies.nix args) ++
|
|
|
|
[libcompizconfig bcop compizConfigPython python gettext pygtk
|
|
|
|
pycairo configBackendGConf];
|
|
|
|
configureFlags = [];
|
|
|
|
wrappedEnv = [
|
|
|
|
"PYTHONPATH" "$(toPythonPath \$out)"
|
|
|
|
"PYTHONPATH" "\$PYTHONPATH"
|
|
|
|
"PYTHONPATH" "$(toPythonPath ${pygtk})/gtk-2.0"
|
|
|
|
];
|
|
|
|
} null; /* null is a terminator for sumArgs */
|
2008-01-18 13:36:56 +01:00
|
|
|
in with localDefs;
|
2007-11-05 09:32:20 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "compizconfig-settings-"+args.version;
|
|
|
|
builder = writeScript (name + "-builder")
|
2008-01-18 13:36:56 +01:00
|
|
|
(textClosure localDefs [installPythonPackage (doWrap "\$out/bin/ccsm")]);
|
2007-11-05 09:32:20 +01:00
|
|
|
meta = {
|
|
|
|
description = "
|
|
|
|
Compiz Settings Manager
|
|
|
|
";
|
2008-03-02 19:49:31 +01:00
|
|
|
inherit src;
|
2007-11-05 09:32:20 +01:00
|
|
|
};
|
|
|
|
}
|