6 colors ? [ "all" ], # Default to install all available colors
7 additionalInstallationTweaks ? [ ], # Additional installation tweaks
9 assert lib.assertMsg (colors != [ ]) "The `colors` list can not be empty";
10 stdenvNoCC.mkDerivation (finalAttrs: {
11 pname = "marble-shell-theme";
14 src = fetchFromGitHub {
16 repo = "Marble-shell-theme";
17 rev = "5971b15d8115c60c3a16b1d219ecffd2cfcdb323";
18 hash = "sha256-TX6BSS29EAi2PjL1fMvEKD12RjB9xrfqPSQsJJrUcJg=";
21 nativeBuildInputs = [ python3 ];
25 substituteInPlace scripts/config.py \
26 --replace-fail "~/.themes" ".themes"
32 mkdir -p $out/share/themes
34 lib.escapeShellArgs (map (color: "--${color}") colors)
35 } ${lib.escapeShellArgs additionalInstallationTweaks}
36 cp -r .themes/* $out/share/themes/
41 description = "Shell theme for GNOME DE";
42 license = lib.licenses.gpl3Plus;
43 platforms = lib.platforms.linux;
44 homepage = "https://github.com/imarkoff/Marble-shell-theme";
45 changelog = "https://github.com/imarkoff/Marble-shell-theme/releases/tag/${finalAttrs.version}";
46 maintainers = with lib.maintainers; [ aucub ];