diff --git a/pkgs/data/themes/qogir-kde/default.nix b/pkgs/data/themes/qogir-kde/default.nix index 0a3d99458663b..3c8054b986678 100644 --- a/pkgs/data/themes/qogir-kde/default.nix +++ b/pkgs/data/themes/qogir-kde/default.nix @@ -1,31 +1,41 @@ { lib , stdenvNoCC , fetchFromGitHub -, kdeclarative -, plasma-framework -, plasma-workspace , unstableGitUpdater }: +# NOTE: +# +# In order to use the qogir sddm theme, the packages +# kdePackages.plasma-desktop and kdePackages.qtsvg should be added to +# the option services.displayManager.sddm.extraPackages of the sddm +# module: +# +# environment.systemPackages = with pkgs; [ +# qogir-kde +# ]; +# +# services.displayManager.sddm = { +# enable = true; +# package = pkgs.kdePackages.sddm; +# theme = "Qogir"; +# extraPackages = with pkgs; [ +# kdePackages.plasma-desktop +# kdePackages.qtsvg +# ]; +# }; + stdenvNoCC.mkDerivation rec { pname = "qogir-kde"; - version = "0-unstable-2024-09-21"; + version = "0-unstable-2024-10-30"; src = fetchFromGitHub { owner = "vinceliuice"; repo = pname; - rev = "9f665cc10ded4fe0a3100c9151a5bd12d1ac50ca"; - hash = "sha256-3WdDzOKO962RykLS8P4paxEiA1keGhuah/GhAKdsuhA="; + rev = "f2fdab049c403a356a79c9c3b9d45ec4357c1649"; + hash = "sha256-6Hl2ozxqufin0fe33HZVuofk61E8Vggyk8/XX2R+2H0="; }; - # Propagate sddm theme dependencies to user env otherwise sddm does - # not find them. Putting them in buildInputs is not enough. - propagatedUserEnvPkgs = [ - kdeclarative.bin - plasma-framework - plasma-workspace - ]; - postPatch = '' patchShebangs install.sh @@ -52,11 +62,11 @@ stdenvNoCC.mkDerivation rec { passthru.updateScript = unstableGitUpdater { }; - meta = with lib; { + meta = { description = "Flat Design theme for KDE Plasma desktop"; homepage = "https://github.com/vinceliuice/Qogir-kde"; - license = licenses.gpl3Only; - platforms = platforms.all; - maintainers = [ maintainers.romildo ]; + license = lib.licenses.gpl3Only; + platforms = lib.platforms.all; + maintainers = [ lib.maintainers.romildo ]; }; }