3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/themes/matcha/default.nix

35 lines
985 B
Nix
Raw Normal View History

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