summary refs log tree commit diff
path: root/pkgs/misc/themes/gtk3/numix-gtk-theme/default.nix
blob: de0060032f74caff540649b4c58f240df91d5ec3 (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
{ stdenv, fetchurl }:

stdenv.mkDerivation rec {
  version = "2.2.3";
  name = "numix-gtk-theme-${version}";
  
  src = fetchurl {
    url = "https://github.com/shimmerproject/Numix/archive/v${version}.tar.gz";
    sha256 = "b0acc2d81300b898403766456d3406304553cc7016677381f3179dbeb1192a2d";
  };

  dontBuild = true;

  installPhase = ''
    install -dm 755 $out/share/themes/Numix
    cp -dr --no-preserve='ownership' {LICENSE,CREDITS,index.theme,gtk-2.0,gtk-3.0,metacity-1,openbox-3,unity,xfce-notify-4.0,xfwm4} $out/share/themes/Numix/
  '';
  
  meta = {
    description = "Numix GTK theme";
    homepage = https://numixproject.org;
    license = stdenv.lib.licenses.gpl3;
    platforms = stdenv.lib.platforms.all;
  };
}