2019-05-22 13:03:39 +02:00
|
|
|
{ stdenv, fetchFromGitHub, gdk-pixbuf, librsvg, gtk-engine-murrine }:
|
2018-09-15 16:50:24 +02:00
|
|
|
|
2019-09-08 22:22:41 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2020-05-09 12:28:28 +02:00
|
|
|
pname = "matcha-gtk-theme";
|
2020-11-26 11:57:24 +01:00
|
|
|
version = "2020-11-23";
|
2018-09-15 16:50:24 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vinceliuice";
|
2019-09-08 22:22:41 +02:00
|
|
|
repo = pname;
|
2019-09-30 12:00:09 +02:00
|
|
|
rev = version;
|
2020-11-26 11:57:24 +01:00
|
|
|
sha256 = "115nmzwpsaq8aa0p7ghfcw79n7h9ifvh0drv3dd4lj2dk33vkpv1";
|
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
|
2020-02-27 19:50:06 +01:00
|
|
|
name= ./install.sh -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
|
2020-02-27 19:50:44 +01:00
|
|
|
mkdir -p $out/share/doc/${pname}
|
|
|
|
cp -a src/extra/firefox $out/share/doc/${pname}
|
2018-09-15 16:50:24 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-05-09 12:28:28 +02:00
|
|
|
description = "A stylish flat Design theme for GTK based desktop environments";
|
2020-02-06 16:56:24 +01:00
|
|
|
homepage = "https://vinceliuice.github.io/theme-matcha";
|
2018-09-15 16:50:24 +02:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|