nixpkgs/pkgs/data/themes/matcha/default.nix

33 lines
891 B
Nix
Raw Normal View History

2018-09-15 15:50:24 +01:00
{ stdenv, fetchFromGitHub, gdk_pixbuf, librsvg, gtk-engine-murrine }:
stdenv.mkDerivation rec {
name = "matcha-${version}";
2018-12-24 20:04:05 +00:00
version = "2018-12-24";
2018-09-15 15:50:24 +01:00
src = fetchFromGitHub {
owner = "vinceliuice";
repo = "matcha";
2018-10-21 17:32:22 +01:00
rev = version;
2018-12-24 20:04:05 +00:00
sha256 = "178y5s5jfprkw8y6clqb8ss4kvfswivfrh6cn67fk4z7wg72i3yc";
2018-09-15 15:50:24 +01:00
};
buildInputs = [ gdk_pixbuf librsvg ];
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 ];
};
}