3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/themes/matcha/default.nix
2019-10-03 08:56:39 -07:00

33 lines
878 B
Nix

{ stdenv, fetchFromGitHub, gdk-pixbuf, librsvg, gtk-engine-murrine }:
stdenv.mkDerivation rec {
pname = "matcha";
version = "2019-10-03";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
sha256 = "1fxlpq3hgp6brgjkhv0g8k4gsdg6jw2z467awqgfr8a1p3ksmxpw";
};
buildInputs = [ gdk-pixbuf librsvg ];
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
installPhase = ''
patchShebangs .
mkdir -p $out/share/themes
name= ./Install -d $out/share/themes
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 ];
};
}