@@ -1,25 +1,31 @@
1−{ stdenv, fetchurl }:
1+{ stdenv, fetchFromGitHub, sass, glib, libxml2, gdk_pixbuf
3stdenv.mkDerivation rec {
5stdenv.mkDerivation rec {
4− version = "2.5.1";
6+ version = "2016-05-19";
5 name = "numix-gtk-theme-${version}";
7 name = "numix-gtk-theme-${version}";
7− src = fetchurl {
9+ src = fetchFromGitHub {
8− url = "https://github.com/numixproject/Numix/archive/v${version}.tar.gz";
10+ repo = "numix-gtk-theme";
9− sha256 = "0y6c4xr2n9sygxhgviwd97l02n17n53bkpfp62srkm05cq0jy87k";
11+ owner = "numixproject";
12+ rev = "266945047ad8c148d36d0d1f00b39730b84482a9";
13+ sha256 = "108qjqwn9shqjkbadyw79y1wbq5ndv30x7xw5wjmbcss5jikr3v1";
12− dontBuild = true;
16+ nativeBuildInputs = [ sass glib libxml2 gdk_pixbuf ];
18+ buildInputs = [ gtk-engine-murrine ];
14 installPhase = ''
20 installPhase = ''
15− install -dm 755 $out/share/themes/Numix
21+ make install DESTDIR="$out"
16− 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/
20− description = "Numix GTK theme";
25+ description = "Modern flat theme with a combination of light and dark elements (GNOME, Unity, Xfce and Openbox)";
21 homepage = https://numixproject.org;
26 homepage = https://numixproject.org;
22− license = stdenv.lib.licenses.gpl3;
27+ license = stdenv.lib.licenses.gpl3Plus;
23 platforms = stdenv.lib.platforms.all;
28 platforms = stdenv.lib.platforms.all;
29+ maintainers = [ stdenv.lib.maintainers.romildo ];