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