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

30 lines
864 B
Nix
Raw Normal View History

2016-07-15 15:50:42 +02:00
{ stdenv, fetchFromGitHub, autoreconfHook, sass, inkscape, glib, which, gtk-engine-murrine }:
2016-06-18 13:33:29 +02:00
stdenv.mkDerivation rec {
name = "adapta-gtk-theme-${version}";
2016-07-15 15:50:42 +02:00
version = "3.21.3.68";
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 = "0wwsmsyxfdgsc7fj1kn4r9zsgs09prizwkjljmirwrfdm6j3387p";
2016-06-18 13:33:29 +02:00
};
preferLocalBuild = true;
buildInputs = [ gtk-engine-murrine ];
2016-07-15 15:50:42 +02:00
nativeBuildInputs = [ autoreconfHook sass inkscape glib.dev which ];
postPatch = "patchShebangs .";
2016-06-18 13:33:29 +02:00
configureFlags = "--enable-chrome --disable-unity";
}