2016-12-03 00:26:27 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, parallel, sassc, inkscape, libxml2, glib, gdk_pixbuf, librsvg, gtk-engine-murrine }:
|
2016-06-18 11:33:29 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "adapta-gtk-theme-${version}";
|
2016-12-03 00:26:27 +00:00
|
|
|
version = "3.89.1.66";
|
2016-06-18 11:33:29 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An adaptive GTK+ theme based on Material Design";
|
|
|
|
homepage = "https://github.com/tista500/Adapta";
|
2016-07-15 13:50:42 +00:00
|
|
|
license = with licenses; [ gpl2 cc-by-sa-30 ];
|
2016-06-18 11:33:29 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.SShrike ];
|
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tista500";
|
|
|
|
repo = "Adapta";
|
2016-07-15 13:50:42 +00:00
|
|
|
rev = version;
|
2016-12-03 00:26:27 +00:00
|
|
|
sha256 = "08g941xgxg7i8g1srn3zdxz1nxm24bkrg5cx9ipjqk5cwsck7470";
|
2016-06-18 11:33:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preferLocalBuild = true;
|
2016-12-03 00:26:27 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook parallel sassc inkscape libxml2 glib.dev ];
|
|
|
|
|
|
|
|
buildInputs = [ gdk_pixbuf librsvg gtk-engine-murrine ];
|
2016-07-15 13:50:42 +00:00
|
|
|
|
|
|
|
postPatch = "patchShebangs .";
|
2016-06-18 11:33:29 +00:00
|
|
|
|
2016-12-03 00:26:27 +00:00
|
|
|
configureFlags = "--disable-unity";
|
2016-06-18 11:33:29 +00:00
|
|
|
}
|