2008-04-11 11:25:58 +02:00
|
|
|
args : with args;
|
2008-11-04 22:24:10 +01:00
|
|
|
let localDefs = builderDefs.passthru.function {
|
2008-04-11 11:25:58 +02:00
|
|
|
src = /* put a fetchurl here */
|
|
|
|
fetchurl {
|
|
|
|
url = http://releases.compiz-fusion.org/0.7.4/simple-ccsm-0.7.4.tar.bz2;
|
|
|
|
sha256 = "1clb0ag73dylslqvg7f4rsk5d3iv4aj5lvhfq7wb99m6k9bksh5y";
|
|
|
|
};
|
|
|
|
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"
|
|
|
|
];
|
2008-10-26 12:58:42 +01:00
|
|
|
} ;
|
2008-04-11 11:25:58 +02:00
|
|
|
in with localDefs;
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "compizconfig-settings-"+args.version;
|
|
|
|
builder = writeScript (name + "-builder")
|
|
|
|
(textClosure localDefs [installPythonPackage (doWrap "\$out/bin/simple-ccsm")]);
|
|
|
|
meta = {
|
|
|
|
description = "
|
|
|
|
Compiz Settings Manager (simplified)
|
|
|
|
";
|
|
|
|
inherit src;
|
|
|
|
};
|
|
|
|
}
|