forked from mirrors/nixpkgs
Merge pull request #118594 from romildo/upd.matcha-gtk-theme
matcha-gtk-theme: 2021-02-04 -> 2021-04-05
This commit is contained in:
commit
3d1a7716d7
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "matcha-gtk-theme";
|
pname = "matcha-gtk-theme";
|
||||||
version = "2021-02-04";
|
version = "2021-04-05";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "vinceliuice";
|
owner = "vinceliuice";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-CDym+yqLu7QpqmdUpXAbJTCjQf/r9D1sl7ZdpaWaXFE=";
|
sha256 = "0bm7hr4lqqz3z2miif38628r4qcy7i5hdk6sm0ngjacm43cl0qvg";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ gdk-pixbuf librsvg ];
|
buildInputs = [ gdk-pixbuf librsvg ];
|
||||||
|
@ -16,16 +16,18 @@ stdenv.mkDerivation rec {
|
||||||
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
mkdir -p $out/share/themes
|
mkdir -p $out/share/themes
|
||||||
name= ./install.sh -d $out/share/themes
|
name= ./install.sh -d $out/share/themes
|
||||||
install -D -t $out/share/gtksourceview-3.0/styles src/extra/gedit/matcha.xml
|
install -D -t $out/share/gtksourceview-3.0/styles src/extra/gedit/matcha.xml
|
||||||
mkdir -p $out/share/doc/${pname}
|
mkdir -p $out/share/doc/${pname}
|
||||||
cp -a src/extra/firefox $out/share/doc/${pname}
|
cp -a src/extra/firefox $out/share/doc/${pname}
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A stylish flat Design theme for GTK based desktop environments";
|
description = "A stylish flat design theme for GTK based desktop environments";
|
||||||
homepage = "https://vinceliuice.github.io/theme-matcha";
|
homepage = "https://vinceliuice.github.io/theme-matcha";
|
||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Only;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
|
|
Loading…
Reference in a new issue