qogir-kde: unstable-2022-07-08 -> unstable-2023-10-20

- Update version
- Propagate sddm theme dependencies to user env
This commit is contained in:
José Romildo 2023-11-01 21:00:27 -03:00
parent 2c732a9b5a
commit e7621355e7
2 changed files with 20 additions and 4 deletions

View File

@ -1,26 +1,40 @@
{ lib
, stdenvNoCC
, fetchFromGitHub
, kdeclarative
, plasma-framework
, plasma-workspace
, gitUpdater
}:
stdenvNoCC.mkDerivation rec {
pname = "qogir-kde";
version = "unstable-2022-07-08";
version = "unstable-2023-10-20";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = "f240eae10978c7fee518f7a8be1c41a21a9d5c2e";
hash = "sha256-AV60IQWwgvLwDO3ylILwx1DkKadwo4isn3JX3WpKoxQ=";
rev = "1cfe8da54e6f76d5ce0d2234dcb4f5186431edb3";
hash = "sha256-Ts8cS7dH8RkfRgWvzDKLCC2G6Hsnvx0NAGstfxMIt+Y=";
};
# 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
substituteInPlace install.sh \
--replace '$HOME/.local' $out \
--replace '$HOME/.config' $out/share
substituteInPlace sddm/*/Main.qml \
--replace /usr $out
'';
installPhase = ''

View File

@ -29875,7 +29875,9 @@ with pkgs;
qogir-icon-theme = callPackage ../data/icons/qogir-icon-theme { };
qogir-kde = callPackage ../data/themes/qogir-kde { };
qogir-kde = callPackage ../data/themes/qogir-kde {
inherit (libsForQt5) kdeclarative plasma-framework plasma-workspace;
};
qogir-theme = callPackage ../data/themes/qogir { };