catppuccin: unstable-2024-03-12 -> unstable-2025-02-21 (#383791)

authored by

Austin Horstman and committed by
GitHub
36ecb32f 15452e38

+55 -55
+55 -55
pkgs/by-name/ca/catppuccin/package.nix
··· 58 name = "bat"; 59 owner = "catppuccin"; 60 repo = "bat"; 61 - rev = "2bafe4454d8db28491e9087ff3a1382c336e7d27"; 62 - hash = "sha256-yHt3oIjUnljARaihalcWSNldtaJfVDfmfiecYfbzGs0="; 63 }; 64 65 bottom = fetchFromGitHub { 66 name = "bottom"; 67 owner = "catppuccin"; 68 repo = "bottom"; 69 - rev = "c0efe9025f62f618a407999d89b04a231ba99c92"; 70 - hash = "sha256-VaHX2I/Gn82wJWzybpWNqU3dPi3206xItOlt0iF6VVQ="; 71 }; 72 73 btop = fetchFromGitHub { 74 name = "btop"; 75 owner = "catppuccin"; 76 repo = "btop"; 77 - rev = "1.0.0"; 78 - hash = "sha256-J3UezOQMDdxpflGax0rGBF/XMiKqdqZXuX4KMVGTxFk="; 79 }; 80 81 grub = fetchFromGitHub { 82 name = "grub"; 83 owner = "catppuccin"; 84 repo = "grub"; 85 - rev = "v1.0.0"; 86 - hash = "sha256-/bSolCta8GCZ4lP0u5NVqYQ9Y3ZooYCNdTwORNvR7M0="; 87 }; 88 89 hyprland = fetchFromGitHub { 90 name = "hyprland"; 91 owner = "catppuccin"; 92 repo = "hyprland"; 93 - rev = "v1.2"; 94 - hash = "sha256-07B5QmQmsUKYf38oWU3+2C6KO4JvinuTwmW1Pfk8CT8="; 95 }; 96 97 k9s = fetchFromGitHub { 98 name = "k9s"; 99 owner = "catppuccin"; 100 repo = "k9s"; 101 - rev = "590a762110ad4b6ceff274265f2fe174c576ce96"; 102 - hash = "sha256-EBDciL3F6xVFXvND+5duT+OiVDWKkFMWbOOSruQ0lus="; 103 }; 104 105 kvantum = fetchFromGitHub { 106 name = "kvantum"; 107 owner = "catppuccin"; 108 repo = "Kvantum"; 109 - rev = "d1e174c85311de9715aefc1eba4b8efd6b2730fc"; 110 - hash = "sha256-IrHo8pnR3u90bq12m7FEXucUF79+iub3I9vgH5h86Lk="; 111 }; 112 113 lazygit = fetchFromGitHub { 114 name = "lazygit"; 115 owner = "catppuccin"; 116 repo = "lazygit"; 117 - rev = "v2.0.0"; 118 - hash = "sha256-gM0HplHhcpvtpmIVdlX/p59h0v+ihKEidS1imqPYlBg="; 119 }; 120 121 lxqt = fetchFromGitHub { ··· 130 name = "plymouth"; 131 owner = "catppuccin"; 132 repo = "plymouth"; 133 - rev = "67759fbe15eb9490d096ef8014d9f92fc5748fe7"; 134 - hash = "sha256-IzoyVOi44Uay7DTfzR9RdRLSjORsdBM4pPrgeXk5YMI="; 135 }; 136 137 qt5ct = fetchFromGitHub { 138 name = "qt5ct"; 139 owner = "catppuccin"; 140 repo = "qt5ct"; 141 - rev = "89ee948e72386b816c7dad72099855fb0d46d41e"; 142 - hash = "sha256-t/uyK0X7qt6qxrScmkTU2TvcVJH97hSQuF0yyvSO/qQ="; 143 }; 144 145 refind = fetchFromGitHub { ··· 154 name = "rofi"; 155 owner = "catppuccin"; 156 repo = "rofi"; 157 - rev = "5350da41a11814f950c3354f090b90d4674a95ce"; 158 - hash = "sha256-DNorfyl3C4RBclF2KDgwvQQwixpTwSRu7fIvihPN8JY="; 159 }; 160 161 starship = fetchFromGitHub { 162 name = "starship"; 163 owner = "catppuccin"; 164 repo = "starship"; 165 - rev = "5629d2356f62a9f2f8efad3ff37476c19969bd4f"; 166 - hash = "sha256-nsRuxQFKbQkyEI4TXgvAjcroVdG+heKX5Pauq/4Ota0="; 167 }; 168 169 thunderbird = fetchFromGitHub { 170 name = "thunderbird"; 171 owner = "catppuccin"; 172 repo = "thunderbird"; 173 - rev = "d61882ad9fd35909a75da6bb95fca38db552135c"; 174 - hash = "sha256-wn8//8lHScbbB1nEiDY8DphnLUMKZBFMc1GPaTRjTOY="; 175 }; 176 177 waybar = fetchFromGitHub { 178 name = "waybar"; 179 owner = "catppuccin"; 180 repo = "waybar"; 181 - rev = "v1.0"; 182 - hash = "sha256-vfwfBE3iqIN1cGoItSssR7h0z6tuJAhNarkziGFlNBw="; 183 }; 184 }; 185 in ··· 195 stdenvNoCC.mkDerivation 196 { 197 inherit pname; 198 - version = "unstable-2024-03-12"; 199 200 srcs = selectedSources; 201 ··· 215 216 '' 217 + lib.optionalString (lib.elem "bat" themeList) '' 218 - mkdir -p $out/bat 219 cp "${sources.bat}/themes/Catppuccin "$capitalizedVariant".tmTheme" "$out/bat/" 220 221 '' 222 + lib.optionalString (lib.elem "btop" themeList) '' 223 - mkdir -p $out/btop 224 cp "${sources.btop}/themes/catppuccin_${variant}.theme" "$out/btop/" 225 226 '' 227 + lib.optionalString (lib.elem "bottom" themeList) '' 228 - mkdir -p $out/bottom 229 cp "${sources.bottom}/themes/${variant}.toml" "$out/bottom/" 230 231 '' 232 + lib.optionalString (lib.elem "grub" themeList) '' 233 - mkdir -p $out/grub 234 - cp -r ${sources.grub}/src/catppuccin-${variant}-grub-theme/* "$out/grub/" 235 236 '' 237 + lib.optionalString (lib.elem "hyprland" themeList) '' 238 - mkdir -p $out/hyprland 239 cp "${sources.hyprland}/themes/${variant}.conf" "$out/hyprland/" 240 241 '' 242 + lib.optionalString (lib.elem "k9s" themeList) '' 243 - mkdir -p $out/k9s 244 cp "${sources.k9s}/dist/catppuccin-${variant}.yaml" "$out/k9s/" 245 cp "${sources.k9s}/dist/catppuccin-${variant}-transparent.yaml" "$out/k9s/" 246 247 '' 248 + lib.optionalString (lib.elem "kvantum" themeList) '' 249 - mkdir -p $out/share/Kvantum 250 - cp -r ${sources.kvantum}/src/Catppuccin-"$capitalizedVariant"-"$capitalizedAccent" $out/share/Kvantum 251 252 '' 253 + lib.optionalString (lib.elem "lazygit" themeList) '' 254 - mkdir -p $out/lazygit/{themes,themes-mergable} 255 cp "${sources.lazygit}/themes/${variant}/${accent}.yml" "$out/lazygit/themes/" 256 cp "${sources.lazygit}/themes-mergable/${variant}/${accent}.yml" "$out/lazygit/themes-mergable/" 257 258 '' 259 + lib.optionalString (lib.elem "lxqt" themeList) '' 260 - mkdir -p $out/share/lxqt/themes/catppuccin-${variant} 261 - cp -r ${sources.lxqt}/src/catppuccin-${variant}/* $out/share/lxqt/themes/catppuccin-${variant}/ 262 263 '' 264 + lib.optionalString (lib.elem "plymouth" themeList) '' 265 - mkdir -p $out/share/plymouth/themes/catppuccin-${variant} 266 cp ${sources.plymouth}/themes/catppuccin-${variant}/* $out/share/plymouth/themes/catppuccin-${variant} 267 sed -i 's:\(^ImageDir=\)/usr:\1'"$out"':' $out/share/plymouth/themes/catppuccin-${variant}/catppuccin-${variant}.plymouth 268 269 '' 270 + lib.optionalString (lib.elem "qt5ct" themeList) '' 271 - mkdir -p $out/qt5ct 272 - cp ${sources.qt5ct}/themes/Catppuccin-"$capitalizedVariant".conf $out/qt5ct/ 273 274 '' 275 + lib.optionalString (lib.elem "rofi" themeList) '' 276 - mkdir -p $out/rofi 277 - cp ${sources.rofi}/basic/.local/share/rofi/themes/catppuccin-${variant}.rasi $out/rofi/ 278 279 '' 280 + lib.optionalString (lib.elem "refind" themeList) '' 281 - mkdir -p $out/refind/assets 282 - cp ${sources.refind}/${variant}.conf $out/refind/ 283 - cp -r ${sources.refind}/assets/${variant} $out/refind/assets/ 284 285 '' 286 + lib.optionalString (lib.elem "starship" themeList) '' 287 - mkdir -p $out/starship 288 - cp ${sources.starship}/palettes/${variant}.toml $out/starship/ 289 290 '' 291 + lib.optionalString (lib.elem "thunderbird" themeList) '' 292 - mkdir -p $out/thunderbird 293 - cp ${sources.thunderbird}/themes/${variant}/${variant}-${accent}.xpi $out/thunderbird/ 294 295 '' 296 + lib.optionalString (lib.elem "waybar" themeList) '' 297 - mkdir -p $out/waybar 298 - cp ${sources.waybar}/${variant}.css $out/waybar/ 299 300 '' 301 + ''
··· 58 name = "bat"; 59 owner = "catppuccin"; 60 repo = "bat"; 61 + rev = "699f60fc8ec434574ca7451b444b880430319941"; 62 + hash = "sha256-6fWoCH90IGumAMc4buLRWL0N61op+AuMNN9CAR9/OdI="; 63 }; 64 65 bottom = fetchFromGitHub { 66 name = "bottom"; 67 owner = "catppuccin"; 68 repo = "bottom"; 69 + rev = "ed09bd5a5dd78d83acdc8ff5fdec40a6340ed1c2"; 70 + hash = "sha256-Vi438I+YVvoD2xzq2t9hJ9R3a+2TlDdbakjFYFtjtXQ="; 71 }; 72 73 btop = fetchFromGitHub { 74 name = "btop"; 75 owner = "catppuccin"; 76 repo = "btop"; 77 + rev = "f437574b600f1c6d932627050b15ff5153b58fa3"; 78 + hash = "sha256-mEGZwScVPWGu+Vbtddc/sJ+mNdD2kKienGZVUcTSl+c="; 79 }; 80 81 grub = fetchFromGitHub { 82 name = "grub"; 83 owner = "catppuccin"; 84 repo = "grub"; 85 + rev = "2a5c8be8185dae49dd22030df45860df8c796312"; 86 + hash = "sha256-20D1EcV8SWOd5BLdAc6FaQu3onha0+aS5yA/GK8Ra0g="; 87 }; 88 89 hyprland = fetchFromGitHub { 90 name = "hyprland"; 91 owner = "catppuccin"; 92 repo = "hyprland"; 93 + rev = "c388ac55563ddeea0afe9df79d4bfff0096b146b"; 94 + hash = "sha256-xSa/z0Pu+ioZ0gFH9qSo9P94NPkEMovstm1avJ7rvzM="; 95 }; 96 97 k9s = fetchFromGitHub { 98 name = "k9s"; 99 owner = "catppuccin"; 100 repo = "k9s"; 101 + rev = "fdbec82284744a1fc2eb3e2d24cb92ef87ffb8b4"; 102 + hash = "sha256-9h+jyEO4w0OnzeEKQXJbg9dvvWGZYQAO4MbgDn6QRzM="; 103 }; 104 105 kvantum = fetchFromGitHub { 106 name = "kvantum"; 107 owner = "catppuccin"; 108 repo = "Kvantum"; 109 + rev = "a87694e0a3c97644dbb34f8835112d17b54ace68"; 110 + hash = "sha256-eQmEeKC+L408ajlNg3oKMnDK6Syy2GV6FrR2TN5ZBCg="; 111 }; 112 113 lazygit = fetchFromGitHub { 114 name = "lazygit"; 115 owner = "catppuccin"; 116 repo = "lazygit"; 117 + rev = "d3c95a67ea3f778f7705d8ef814f87ac5213436d"; 118 + hash = "sha256-b2SoIeXT1BaoxvEeQ0VaPmnBND+7qUe342kOIkyOcAc="; 119 }; 120 121 lxqt = fetchFromGitHub { ··· 130 name = "plymouth"; 131 owner = "catppuccin"; 132 repo = "plymouth"; 133 + rev = "e0f58d6fcf3dbc2d35dfc4fec394217fbfa92666"; 134 + hash = "sha256-He6ER1QNrJCUthFoBBGHBINouW/tozxQy3R79F5tsuo="; 135 }; 136 137 qt5ct = fetchFromGitHub { 138 name = "qt5ct"; 139 owner = "catppuccin"; 140 repo = "qt5ct"; 141 + rev = "0442cc931390c226d143e3a6d6e77f819c68502a"; 142 + hash = "sha256-hXyPuI225WdMuVSeX1AwrylUzNt0VA33h8C7MoSJ+8A="; 143 }; 144 145 refind = fetchFromGitHub { ··· 154 name = "rofi"; 155 owner = "catppuccin"; 156 repo = "rofi"; 157 + rev = "c24a212a6b07c2d45f32d01d7f10b4d88ddc9f45"; 158 + hash = "sha256-WGYEA4Q7UvSaRDjP/DiEtfXjvmWbewtdyJWRpjhbZgg="; 159 }; 160 161 starship = fetchFromGitHub { 162 name = "starship"; 163 owner = "catppuccin"; 164 repo = "starship"; 165 + rev = "e99ba6b210c0739af2a18094024ca0bdf4bb3225"; 166 + hash = "sha256-1w0TJdQP5lb9jCrCmhPlSexf0PkAlcz8GBDEsRjPRns="; 167 }; 168 169 thunderbird = fetchFromGitHub { 170 name = "thunderbird"; 171 owner = "catppuccin"; 172 repo = "thunderbird"; 173 + rev = "0289f3bd9566f9666682f66a3355155c0d0563fc"; 174 + hash = "sha256-07gT37m1+OhRTbUk51l0Nhx+I+tl1il5ayx2ow23APY="; 175 }; 176 177 waybar = fetchFromGitHub { 178 name = "waybar"; 179 owner = "catppuccin"; 180 repo = "waybar"; 181 + rev = "v1.1"; 182 + hash = "sha256-9lY+v1CTbpw2lREG/h65mLLw5KuT8OJdEPOb+NNC6Fo="; 183 }; 184 }; 185 in ··· 195 stdenvNoCC.mkDerivation 196 { 197 inherit pname; 198 + version = "unstable-2025-02-21"; 199 200 srcs = selectedSources; 201 ··· 215 216 '' 217 + lib.optionalString (lib.elem "bat" themeList) '' 218 + mkdir -p "$out/bat" 219 cp "${sources.bat}/themes/Catppuccin "$capitalizedVariant".tmTheme" "$out/bat/" 220 221 '' 222 + lib.optionalString (lib.elem "btop" themeList) '' 223 + mkdir -p "$out/btop" 224 cp "${sources.btop}/themes/catppuccin_${variant}.theme" "$out/btop/" 225 226 '' 227 + lib.optionalString (lib.elem "bottom" themeList) '' 228 + mkdir -p "$out/bottom" 229 cp "${sources.bottom}/themes/${variant}.toml" "$out/bottom/" 230 231 '' 232 + lib.optionalString (lib.elem "grub" themeList) '' 233 + mkdir -p "$out/grub" 234 + cp -r "${sources.grub}/src/catppuccin-${variant}-grub-theme/"* "$out/grub/" 235 236 '' 237 + lib.optionalString (lib.elem "hyprland" themeList) '' 238 + mkdir -p "$out/hyprland" 239 cp "${sources.hyprland}/themes/${variant}.conf" "$out/hyprland/" 240 241 '' 242 + lib.optionalString (lib.elem "k9s" themeList) '' 243 + mkdir -p "$out/k9s" 244 cp "${sources.k9s}/dist/catppuccin-${variant}.yaml" "$out/k9s/" 245 cp "${sources.k9s}/dist/catppuccin-${variant}-transparent.yaml" "$out/k9s/" 246 247 '' 248 + lib.optionalString (lib.elem "kvantum" themeList) '' 249 + mkdir -p "$out/share/Kvantum" 250 + cp -r "${sources.kvantum}/themes/catppuccin-${variant}-${accent}" "$out/share/Kvantum" 251 252 '' 253 + lib.optionalString (lib.elem "lazygit" themeList) '' 254 + mkdir -p "$out/lazygit/"{themes,themes-mergable} 255 cp "${sources.lazygit}/themes/${variant}/${accent}.yml" "$out/lazygit/themes/" 256 cp "${sources.lazygit}/themes-mergable/${variant}/${accent}.yml" "$out/lazygit/themes-mergable/" 257 258 '' 259 + lib.optionalString (lib.elem "lxqt" themeList) '' 260 + mkdir -p "$out/share/lxqt/themes/catppuccin-${variant}" 261 + cp -r "${sources.lxqt}/src/catppuccin-${variant}/"* "$out/share/lxqt/themes/catppuccin-${variant}" 262 263 '' 264 + lib.optionalString (lib.elem "plymouth" themeList) '' 265 + mkdir -p "$out/share/plymouth/themes/catppuccin-${variant}" 266 cp ${sources.plymouth}/themes/catppuccin-${variant}/* $out/share/plymouth/themes/catppuccin-${variant} 267 sed -i 's:\(^ImageDir=\)/usr:\1'"$out"':' $out/share/plymouth/themes/catppuccin-${variant}/catppuccin-${variant}.plymouth 268 269 '' 270 + lib.optionalString (lib.elem "qt5ct" themeList) '' 271 + mkdir -p "$out/qt5ct" 272 + cp "${sources.qt5ct}/themes/Catppuccin-${variant}-${accent}.conf" "$out/qt5ct" 273 274 '' 275 + lib.optionalString (lib.elem "rofi" themeList) '' 276 + mkdir -p "$out/rofi" 277 + cp "${sources.rofi}/themes/catppuccin-${variant}.rasi" "$out/rofi" 278 279 '' 280 + lib.optionalString (lib.elem "refind" themeList) '' 281 + mkdir -p "$out/refind/assets" 282 + cp "${sources.refind}/${variant}.conf" "$out/refind" 283 + cp -r "${sources.refind}/assets/${variant}" "$out/refind/assets" 284 285 '' 286 + lib.optionalString (lib.elem "starship" themeList) '' 287 + mkdir -p "$out/starship" 288 + cp "${sources.starship}/themes/${variant}.toml" "$out/starship" 289 290 '' 291 + lib.optionalString (lib.elem "thunderbird" themeList) '' 292 + mkdir -p "$out/thunderbird" 293 + cp "${sources.thunderbird}/themes/${variant}/${variant}-${accent}.xpi" "$out/thunderbird" 294 295 '' 296 + lib.optionalString (lib.elem "waybar" themeList) '' 297 + mkdir -p "$out/waybar" 298 + cp "${sources.waybar}/themes/${variant}.css" "$out/waybar" 299 300 '' 301 + ''