Skip to content

Commit

Permalink
qogir-kde: 0-unstable-2024-09-21 -> 0-unstable-2024-10-30
Browse files Browse the repository at this point in the history
  • Loading branch information
romildo committed Oct 31, 2024
1 parent 75df28e commit ca38778
Showing 1 changed file with 28 additions and 18 deletions.
46 changes: 28 additions & 18 deletions pkgs/data/themes/qogir-kde/default.nix
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 ];
};
}

0 comments on commit ca38778

Please sign in to comment.