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