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

32 lines
915 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, autoreconfHook, 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.89.1.66";
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;
maintainers = [ maintainers.SShrike ];
};
src = fetchFromGitHub {
owner = "tista500";
repo = "Adapta";
2016-07-15 15:50:42 +02:00
rev = version;
sha256 = "08g941xgxg7i8g1srn3zdxz1nxm24bkrg5cx9ipjqk5cwsck7470";
2016-06-18 13:33:29 +02:00
};
preferLocalBuild = true;
nativeBuildInputs = [ autoreconfHook 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
}