matcha: init at 2018-09-14 (#46693)

This commit is contained in:
José Romildo Malaquias 2018-09-15 11:50:24 -03:00 committed by xeji
parent 1dcb946901
commit 54ab621fa7
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ stdenv, fetchFromGitHub, gdk_pixbuf, librsvg, gtk-engine-murrine }:
stdenv.mkDerivation rec {
name = "matcha-${version}";
version = "2018-09-14";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = "matcha";
rev = "fe35259742b5ae007ab17d46d21acad5754477b9";
sha256 = "1qwb8l1xfx9ca2y9gcsckxikijz1ij28dirvpqvhbbyn1m8i9hwd";
};
buildInputs = [ gdk_pixbuf librsvg ];
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
installPhase = ''
patchShebangs .
substituteInPlace Install --replace '$HOME/.themes' "$out/share/themes"
./Install
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 ];
};
}

View File

@ -21682,6 +21682,8 @@ with pkgs;
martyr = callPackage ../development/libraries/martyr { };
matcha = callPackage ../misc/themes/matcha { };
# previously known as flat-plat
materia-theme = callPackage ../misc/themes/materia-theme { };