From b79bf417f0a5cfb71d0bc3fd73895915f9cc0d20 Mon Sep 17 00:00:00 2001 From: Pavan Rikhi Date: Fri, 5 Dec 2014 00:54:59 -0500 Subject: [PATCH] Add the Clearlooks-Phenix GTK3 Theme --- lib/maintainers.nix | 1 + .../themes/gtk3/clearlooks-phenix/default.nix | 36 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 39 insertions(+) create mode 100644 pkgs/misc/themes/gtk3/clearlooks-phenix/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index bb9f2c89ad29..82986faaa260 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -124,6 +124,7 @@ piotr = "Piotr Pietraszkiewicz "; pkmx = "Chih-Mao Chen "; plcplc = "Philip Lykke Carlsen "; + prikhi = "Pavan Rikhi "; pSub = "Pascal Wittmann "; puffnfresh = "Brian McKenna "; qknight = "Joachim Schiele "; diff --git a/pkgs/misc/themes/gtk3/clearlooks-phenix/default.nix b/pkgs/misc/themes/gtk3/clearlooks-phenix/default.nix new file mode 100644 index 000000000000..ae5b2a3544d5 --- /dev/null +++ b/pkgs/misc/themes/gtk3/clearlooks-phenix/default.nix @@ -0,0 +1,36 @@ +{ stdenv, fetchurl, gtk }: + +stdenv.mkDerivation rec { + version = "5.0.7"; + name = "clearlooks-phenix-${version}"; + + src = fetchurl { + url = "http://github.com/jpfleury/clearlooks-phenix/archive/${version}.tar.gz"; + sha256 = "107jx3p3zwzy8xy0m8hwzs1kp8j60xgc3dja27r3vwhb3x3y1i8k"; + }; + + dontBuild = true; + installPhase = '' + mkdir -p $out/share/themes/Clearlooks-Phenix + cp -r . $out/share/themes/Clearlooks-Phenix/ + ''; + + preferLocalBuild = true; + + meta = with stdenv.lib; { + descriptioon = "GTK3 port of the Clearlooks theme"; + longDescription = '' + The Clearlooks-Phénix project aims at creating a GTK3 port of Clearlooks, + the default theme for Gnome 2. Style is also included for GTK2, Unity and + for Metacity, Openbox and Xfwm4 window managers. + + You should install this theme into your user profile and then set + GTK_DATA_PREFIX to `~/.nix-profile`. + ''; + homepage = https://github.com/jpfleury/clearlooks-phenix; + downloadPage = https://github.com/jpfleury/clearlooks-phenix/releases; + license = licenses.gpl3; + maintainers = [ maintainers.prikhi ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a24063ac0ed1..a74a6462da34 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11800,6 +11800,8 @@ let cjs = callPackage ../desktops/cinnamon/cjs.nix { }; }; + clearlooks-phenix = callPackage ../misc/themes/gtk3/clearlooks-phenix { }; + enlightenment = callPackage ../desktops/enlightenment { }; e19 = recurseIntoAttrs (