forked from mirrors/nixpkgs
Merge pull request #264664 from romildo/upd.layan-kde
layan-kde: 2022-02-13 -> unstable-2023-09-30
This commit is contained in:
commit
b7dcc70a96
|
@ -1,26 +1,40 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, kdeclarative
|
||||
, plasma-framework
|
||||
, plasma-workspace
|
||||
, gitUpdater
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "layan-kde";
|
||||
version = "2022-02-13";
|
||||
version = "unstable-2023-09-30";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vinceliuice";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "09z90g13l26v23nwr8n5bapwldp3hhdrdikynvm4vvb7qsvb4vrp";
|
||||
rev = "7ab7cd7461dae8d8d6228d3919efbceea5f4272c";
|
||||
hash = "sha256-Wh8tZcQEdTTlgtBf4ovapojHcpPBZDDkWOclmxZv9zA=";
|
||||
};
|
||||
|
||||
# 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 = ''
|
||||
|
|
|
@ -29512,7 +29512,9 @@ with pkgs;
|
|||
|
||||
layan-gtk-theme = callPackage ../data/themes/layan-gtk-theme { };
|
||||
|
||||
layan-kde = callPackage ../data/themes/layan-kde { };
|
||||
layan-kde = callPackage ../data/themes/layan-kde {
|
||||
inherit (libsForQt5) kdeclarative plasma-framework plasma-workspace;
|
||||
};
|
||||
|
||||
lao = callPackage ../data/fonts/lao { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue