|
1 | 1 | { lib |
2 | 2 | , stdenvNoCC |
3 | 3 | , fetchFromGitHub |
4 | | -, plasma-desktop |
5 | | -, qtsvg |
6 | 4 | , unstableGitUpdater |
7 | 5 | }: |
8 | 6 |
|
| 7 | +# NOTE: |
| 8 | +# |
| 9 | +# In order to use the whitesur sddm themes, the packages |
| 10 | +# kdePackages.plasma-desktop and kdePackages.qtsvg should be added to |
| 11 | +# the option services.displayManager.sddm.extraPackages of the sddm |
| 12 | +# module: |
| 13 | +# |
| 14 | +# environment.systemPackages = with pkgs; [ |
| 15 | +# whitesur-kde |
| 16 | +# ]; |
| 17 | +# |
| 18 | +# services.displayManager.sddm = { |
| 19 | +# enable = true; |
| 20 | +# package = pkgs.kdePackages.sddm; |
| 21 | +# theme = "WhiteSur-dark"; |
| 22 | +# extraPackages = with pkgs; [ |
| 23 | +# kdePackages.plasma-desktop |
| 24 | +# kdePackages.qtsvg |
| 25 | +# ]; |
| 26 | +# }; |
| 27 | + |
9 | 28 | stdenvNoCC.mkDerivation { |
10 | 29 | pname = "whitesur-kde"; |
11 | | - version = "2022-05-01-unstable-2024-09-26"; |
| 30 | + version = "2022-05-01-unstable-2024-11-01"; |
12 | 31 |
|
13 | 32 | src = fetchFromGitHub { |
14 | 33 | owner = "vinceliuice"; |
15 | 34 | repo = "whitesur-kde"; |
16 | | - rev = "8cbb617049ad79ecff63eb62770d360b73fed656"; |
17 | | - hash = "sha256-uNRO/r8kJByS4BDq0jXth+y0rg3GtGsbXoNLOZHpuNU="; |
| 35 | + rev = "efba411e11f8f4d3219bffb393d25afae62eacf2"; |
| 36 | + hash = "sha256-052mKpf8e5pSecMzaWB3McOZ/uAqp/XGJjcVWnlKPLE="; |
18 | 37 | }; |
19 | 38 |
|
20 | | - # Propagate sddm theme dependencies to user env otherwise sddm does |
21 | | - # not find them. Putting them in buildInputs is not enough. |
22 | | - propagatedUserEnvPkgs = [ |
23 | | - plasma-desktop |
24 | | - qtsvg |
25 | | - ]; |
26 | | - |
27 | 39 | postPatch = '' |
28 | 40 | patchShebangs install.sh sddm/install.sh |
29 | 41 |
|
@@ -55,11 +67,11 @@ stdenvNoCC.mkDerivation { |
55 | 67 |
|
56 | 68 | passthru.updateScript = unstableGitUpdater { }; |
57 | 69 |
|
58 | | - meta = with lib; { |
| 70 | + meta = { |
59 | 71 | description = "MacOS big sur like theme for KDE Plasma desktop"; |
60 | 72 | homepage = "https://github.com/vinceliuice/WhiteSur-kde"; |
61 | | - license = licenses.gpl3Only; |
62 | | - platforms = platforms.all; |
63 | | - maintainers = [ maintainers.romildo ]; |
| 73 | + license = lib.licenses.gpl3Only; |
| 74 | + platforms = lib.platforms.all; |
| 75 | + maintainers = [ lib.maintainers.romildo ]; |
64 | 76 | }; |
65 | 77 | } |
0 commit comments