2015-03-05 00:00:25 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-05-08 12:14:27 +01:00
|
|
|
version = "2.5.1";
|
2015-03-05 06:23:18 +00:00
|
|
|
name = "numix-gtk-theme-${version}";
|
2015-03-05 00:00:25 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-05-08 12:14:27 +01:00
|
|
|
url = "https://github.com/numixproject/Numix/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "0y6c4xr2n9sygxhgviwd97l02n17n53bkpfp62srkm05cq0jy87k";
|
2015-03-05 00:00:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
2015-03-05 07:13:04 +00:00
|
|
|
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/
|
2015-03-05 00:00:25 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Numix GTK theme";
|
|
|
|
homepage = https://numixproject.org;
|
2015-03-05 06:23:18 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
2015-03-05 00:00:25 +00:00
|
|
|
};
|
|
|
|
}
|