2016-05-20 16:52:31 +02:00
|
|
|
{ stdenv, fetchFromGitHub, sass, glib, libxml2, gdk_pixbuf
|
|
|
|
, gtk-engine-murrine
|
|
|
|
}:
|
2015-03-05 01:00:25 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-10-07 02:25:14 +02:00
|
|
|
version = "2.6.7";
|
2015-03-05 07:23:18 +01:00
|
|
|
name = "numix-gtk-theme-${version}";
|
2016-05-20 16:52:31 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "numix-gtk-theme";
|
|
|
|
owner = "numixproject";
|
2017-10-07 02:25:14 +02:00
|
|
|
rev = version;
|
2017-11-02 21:45:19 +01:00
|
|
|
sha256 = "12mw0kr0kkvg395qlbsvkvaqccr90cmxw5rrsl236zh43kj8grb7";
|
2015-03-05 01:00:25 +01:00
|
|
|
};
|
|
|
|
|
2016-05-20 16:52:31 +02:00
|
|
|
nativeBuildInputs = [ sass glib libxml2 gdk_pixbuf ];
|
|
|
|
|
2017-12-19 23:08:29 +01:00
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
2015-03-05 01:00:25 +01:00
|
|
|
|
2016-05-27 03:01:45 +02:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace Makefile --replace '$(DESTDIR)'/usr $out
|
2016-12-07 21:45:25 +01:00
|
|
|
patchShebangs .
|
2015-03-05 01:00:25 +01:00
|
|
|
'';
|
2016-05-20 16:52:31 +02:00
|
|
|
|
2015-03-05 01:00:25 +01:00
|
|
|
meta = {
|
2016-05-20 16:52:31 +02:00
|
|
|
description = "Modern flat theme with a combination of light and dark elements (GNOME, Unity, Xfce and Openbox)";
|
2015-03-05 01:00:25 +01:00
|
|
|
homepage = https://numixproject.org;
|
2016-05-20 16:52:31 +02:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2015-03-05 07:23:18 +01:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2016-05-20 16:52:31 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.romildo ];
|
2015-03-05 01:00:25 +01:00
|
|
|
};
|
|
|
|
}
|