summary refs log tree commit diff
path: root/pkgs/misc/themes/gtk3/numix-gtk-theme/default.nix
blob: 555e1ef508c865fc128d8eb6bbb5b9edf5f9b27d (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.5.1";
  name = "numix-gtk-theme-${version}";
  
  src = fetchurl {
    url = "https://github.com/numixproject/Numix/archive/v${version}.tar.gz";
    sha256 = "0y6c4xr2n9sygxhgviwd97l02n17n53bkpfp62srkm05cq0jy87k";
  };

  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;
  };
}