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

whitesur-kde: unstable-2023-08-15 -> unstable-2023-10-06
This commit is contained in:
José Romildo Malaquias 2023-11-22 07:19:16 -03:00 committed by GitHub
commit f8baac2255
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 4 deletions

View File

@ -1,20 +1,31 @@
{ 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 = ''

View File

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