2019-05-22 12:03:39 +01:00
|
|
|
{ stdenv, fetchFromGitHub, gdk-pixbuf, librsvg, gtk-engine-murrine }:
|
2018-09-15 15:50:24 +01:00
|
|
|
|
2019-09-08 21:22:41 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "matcha";
|
2019-10-03 15:56:35 +01:00
|
|
|
version = "2019-10-03";
|
2018-09-15 15:50:24 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vinceliuice";
|
2019-09-08 21:22:41 +01:00
|
|
|
repo = pname;
|
2019-09-30 11:00:09 +01:00
|
|
|
rev = version;
|
2019-10-03 15:56:35 +01:00
|
|
|
sha256 = "1fxlpq3hgp6brgjkhv0g8k4gsdg6jw2z467awqgfr8a1p3ksmxpw";
|
2018-09-15 15:50:24 +01:00
|
|
|
};
|
|
|
|
|
2019-05-22 12:03:39 +01:00
|
|
|
buildInputs = [ gdk-pixbuf librsvg ];
|
2018-09-15 15:50:24 +01:00
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
patchShebangs .
|
2018-12-24 20:04:05 +00:00
|
|
|
mkdir -p $out/share/themes
|
|
|
|
name= ./Install -d $out/share/themes
|
2018-09-15 15:50:24 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|