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