@@ -0,0 +1,36 @@
1+{ stdenv, fetchurl, gtk }:
2+
3+stdenv.mkDerivation rec {
4+ version = "5.0.7";
5+ name = "clearlooks-phenix-${version}";
6+
7+ src = fetchurl {
8+ url = "http://github.com/jpfleury/clearlooks-phenix/archive/${version}.tar.gz";
9+ sha256 = "107jx3p3zwzy8xy0m8hwzs1kp8j60xgc3dja27r3vwhb3x3y1i8k";
10+ };
11+
12+ dontBuild = true;
13+ installPhase = ''
14+ mkdir -p $out/share/themes/Clearlooks-Phenix
15+ cp -r . $out/share/themes/Clearlooks-Phenix/
16+ '';
17+
18+ preferLocalBuild = true;
19+
20+ meta = with stdenv.lib; {
21+ descriptioon = "GTK3 port of the Clearlooks theme";
22+ longDescription = ''
23+ The Clearlooks-Phénix project aims at creating a GTK3 port of Clearlooks,
24+ the default theme for Gnome 2. Style is also included for GTK2, Unity and
25+ for Metacity, Openbox and Xfwm4 window managers.
26+
27+ You should install this theme into your user profile and then set
28+ GTK_DATA_PREFIX to `~/.nix-profile`.
29+ '';
30+ homepage = https://github.com/jpfleury/clearlooks-phenix;
31+ downloadPage = https://github.com/jpfleury/clearlooks-phenix/releases;
32+ license = licenses.gpl3;
33+ maintainers = [ maintainers.prikhi ];
34+ platforms = platforms.linux;
35+ };
36+}