2019-05-22 13:03:39 +02:00
|
|
|
{ stdenv, fetchFromGitHub, gdk-pixbuf, librsvg, gtk-engine-murrine }:
|
2018-09-15 16:50:24 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "matcha";
|
2019-06-25 13:55:54 +02:00
|
|
|
version = "2019-06-22";
|
2018-09-15 16:50:24 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vinceliuice";
|
|
|
|
repo = "matcha";
|
2019-06-25 13:55:54 +02:00
|
|
|
rev = "f42df7a3219d7fbacb7be1b2e0e416d74339865e";
|
|
|
|
sha256 = "1x954rmxv14xndn4ybhbr4pmzccnwqp462bpvzd2hak5wsqs4wxc";
|
2018-09-15 16:50:24 +02:00
|
|
|
};
|
|
|
|
|
2019-05-22 13:03:39 +02:00
|
|
|
buildInputs = [ gdk-pixbuf librsvg ];
|
2018-09-15 16:50:24 +02:00
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
patchShebangs .
|
2018-12-24 21:04:05 +01:00
|
|
|
mkdir -p $out/share/themes
|
|
|
|
name= ./Install -d $out/share/themes
|
2018-09-15 16:50:24 +02:00
|
|
|
install -D -t $out/share/gtksourceview-3.0/styles src/extra/gedit/matcha.xml
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A stylish Design theme for GTK based desktop environments";
|
|
|
|
homepage = https://vinceliuice.github.io/theme-matcha;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|