summary refs log tree commit diff
path: root/pkgs/misc/themes/clearlooks-phenix/default.nix
blob: 51320e18c1a3fdf6278ed73ab04d9aba92518a78 (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
28
29
30
31
32
33
34
35
36
{ stdenv, fetchurl }:

stdenv.mkDerivation rec {
  version = "7.0.1";
  name = "clearlooks-phenix-${version}";

  src = fetchurl {
    url = "http://github.com/jpfleury/clearlooks-phenix/archive/${version}.tar.gz";
    sha256 = "1x2psfbhxc3bk3q795bafxv6p890yfsankfw64p44q4r1x0236ra";
  };

  dontBuild = true;
  installPhase = ''
    mkdir -p $out/share/themes/Clearlooks-Phenix
    cp -r . $out/share/themes/Clearlooks-Phenix/
  '';

  preferLocalBuild = true;

  meta = with stdenv.lib; {
    description = "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;
  };
}