5 , flavour ? [ "frappe" ]
7 , winDecStyles ? [ "modern" ]
11 validFlavours = [ "mocha" "macchiato" "frappe" "latte" ];
12 validAccents = [ "rosewater" "flamingo" "pink" "mauve" "red" "maroon" "peach" "yellow" "green" "teal" "sky" "sapphire" "blue" "lavender" ];
13 validWinDecStyles = [ "modern" "classic" ];
15 colorScript = ./color.sh;
18 lib.checkListOfEnum "Invalid accent, valid accents are ${toString validAccents}" validAccents accents
19 lib.checkListOfEnum "Invalid flavour, valid flavours are ${toString validFlavours}" validFlavours flavour
20 lib.checkListOfEnum "Invalid window decoration style, valid styles are ${toString validWinDecStyles}" validWinDecStyles winDecStyles
22 stdenvNoCC.mkDerivation rec {
26 src = fetchFromGitHub {
30 hash = "sha256-pfG0L4eSXLYLZM8Mhla4yalpEro74S9kc0sOmQtnG3w=";
35 url = "https://github.com/GiggleSquid/catppuccin-kde/commit/f0291c17d2e4711b0d0aac00e3dbb94ee89b4a82.patch";
36 hash = "sha256-iD+mEX2LRFmrCwLr3VAs6kzcTuZ231TKDn+U188iOss=";
44 for WINDECSTYLE in ${toString winDecStyles}; do
45 for FLAVOUR in ${toString flavour}; do
46 for ACCENT in ${toString accents}; do
48 ./install.sh $FLAVOUR $ACCENT $WINDECSTYLE
57 description = "Soothing pastel theme for KDE";
58 homepage = "https://github.com/catppuccin/kde";
59 license = licenses.mit;
60 maintainers = with maintainers; [ michaelBelsanti gigglesquid ];