nixpkgs/pkgs/misc/themes/adapta/default.nix

32 lines
937 B
Nix
Raw Normal View History

{ 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}";
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;
sha256 = "0abww5rcbn478w2kdhjlf68bfj8yf8i02nlmrjpp7j1v14r32xr0";
2016-06-18 13:33:29 +02:00
};
preferLocalBuild = true;
nativeBuildInputs = [ autoreconfHook pkgconfig parallel sassc inkscape libxml2 glib.dev ];
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
configureFlags = "--disable-unity";
2016-06-18 13:33:29 +02:00
}