2021-07-14 01:42:01 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, gtk-engine-murrine
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "layan-gtk-theme";
|
2023-05-23 03:32:40 +00:00
|
|
|
version = "2023-05-23";
|
2021-07-14 01:42:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vinceliuice";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-05-23 03:32:40 +00:00
|
|
|
sha256 = "sha256-R8QxDMOXzDIfioAvvescLAu6NjJQ9zhf/niQTXZr+yA=";
|
2021-07-14 01:42:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
patchShebangs install.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/share/themes
|
|
|
|
unset name && ./install.sh -d $out/share/themes
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A flat Material Design theme for GTK 3, GTK 2 and Gnome-Shell.";
|
|
|
|
homepage = "https://github.com/vinceliuice/Layan-gtk-theme";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.vanilla ];
|
|
|
|
};
|
|
|
|
}
|