summary refs log tree commit diff
path: root/pkgs/applications/window-managers/compiz-fusion/main/0.6.0.nix
blob: 40261da5cc4e846069ddc18fe9b3ad20d237bf84 (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
args : with args;
	with builderDefs {
		src = /* put a fetchurl here */
	fetchurl {
		url = http://releases.compiz-fusion.org/0.6.0/compiz-fusion-plugins-main-0.6.0.tar.bz2;
		sha256 = "1pn6s8lrzgg2allfp1rdmd6kinx8whnj8sb38aqzirmy1s6gfsvi";
	};
		buildInputs = (import ../general-dependencies.nix args)++
		[bcop libjpeg gettext];
		configureFlags = [];
	} null; /* null is a terminator for sumArgs */
let
	sharePlugins = FullDepEntry ("
		ensureDir \$out/share/compiz-plugins
		ln -vsf \$out/lib/compiz \$out/share/compiz-plugins
	") [minInit doMakeInstall defEnsureDir];
in
stdenv.mkDerivation rec {
	name = "compiz-fusion-plugins-main-"+version;
	builder = writeScript (name + "-builder")
		(textClosure [doConfigure doMakeInstall sharePlugins doForceShare]);
	meta = {
		description = "
	Main Compiz Fusion plugins.
";
	};
}