2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchFromGitHub, gdk-pixbuf, librsvg, gtk-engine-murrine }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-05-15 21:57:56 +00:00
|
|
|
pname = "matcha-gtk-theme";
|
2020-10-16 20:44:37 +00:00
|
|
|
version = "2020-10-05";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vinceliuice";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-10-16 20:44:37 +00:00
|
|
|
sha256 = "0pkgpipffwxphn16p6r911mbhqhjyk60svirxzm2phlhxl0ddwpj";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ gdk-pixbuf librsvg ];
|
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
patchShebangs .
|
|
|
|
mkdir -p $out/share/themes
|
|
|
|
name= ./install.sh -d $out/share/themes
|
|
|
|
install -D -t $out/share/gtksourceview-3.0/styles src/extra/gedit/matcha.xml
|
|
|
|
mkdir -p $out/share/doc/${pname}
|
|
|
|
cp -a src/extra/firefox $out/share/doc/${pname}
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-05-15 21:57:56 +00:00
|
|
|
description = "A stylish flat Design theme for GTK based desktop environments";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://vinceliuice.github.io/theme-matcha";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|