Unverified Commit f8baac22 authored by José Romildo Malaquias's avatar José Romildo Malaquias Committed by GitHub
Browse files

Merge pull request #265297 from romildo/upd.whitesur-kde

whitesur-kde: unstable-2023-08-15 -> unstable-2023-10-06
parents c2e8d998 2ff27bb7
Loading
Loading
Loading
Loading
+17 −3
Original line number Diff line number Diff line
{ lib
, stdenvNoCC
, fetchFromGitHub
, kdeclarative
, plasma-framework
, plasma-workspace
, gitUpdater
}:

stdenvNoCC.mkDerivation (finalAttrs: {
  pname = "whitesur-kde";
  version = "unstable-2023-08-15";
  version = "unstable-2023-10-06";

  src = fetchFromGitHub {
    owner = "vinceliuice";
    repo = finalAttrs.pname;
    rev = "d50bc20b2b78705bb9856204066affb763fa8a35";
    hash = "sha256-oG6QT4VQpBznM+gvzdiY4CldOwdHcBeHlbvlc52eFuU=";
    rev = "2b4bcc76168bd8a4a7601188e177fa0ab485cdc8";
    hash = "sha256-+Iooj8a7zfLhEWnjLEVoe/ebD9Vew5HZdz0wpWVZxA8=";
  };

  # 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

@@ -22,6 +33,9 @@ stdenvNoCC.mkDerivation (finalAttrs: {
      --replace '$HOME/.config' $out/share \
      --replace '$HOME/.local' $out \
      --replace '"$HOME"/.Xresources' $out/doc/.Xresources

    substituteInPlace sddm/*/Main.qml \
      --replace /usr $out
  '';

  installPhase = ''
+3 −1
Original line number Diff line number Diff line
@@ -30215,7 +30215,9 @@ with pkgs;
  whitesur-icon-theme = callPackage ../data/icons/whitesur-icon-theme { };
  whitesur-kde = callPackage ../data/themes/whitesur-kde { };
  whitesur-kde = callPackage ../data/themes/whitesur-kde {
    inherit (libsForQt5) kdeclarative plasma-framework plasma-workspace;
  };
  wireless-regdb = callPackage ../data/misc/wireless-regdb { };