1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

qogir-kde: 0-unstable-2024-09-21 -> 0-unstable-2024-10-30

This commit is contained in:
José Romildo 2024-10-31 19:16:53 -03:00
parent 75df28e7f3
commit b6cf7b27b7

View file

@ -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 ];
};
}