mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
layan-kde: 2022-02-13 -> unstable-2023-09-30
- Update version - Propagate sddm theme dependencies to user env
This commit is contained in:
parent
a1faa830fa
commit
ead776d8a8
2 changed files with 20 additions and 4 deletions
|
@ -1,26 +1,40 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, kdeclarative
|
||||||
|
, plasma-framework
|
||||||
|
, plasma-workspace
|
||||||
, gitUpdater
|
, gitUpdater
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "layan-kde";
|
pname = "layan-kde";
|
||||||
version = "2022-02-13";
|
version = "unstable-2023-09-30";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "vinceliuice";
|
owner = "vinceliuice";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = "7ab7cd7461dae8d8d6228d3919efbceea5f4272c";
|
||||||
sha256 = "09z90g13l26v23nwr8n5bapwldp3hhdrdikynvm4vvb7qsvb4vrp";
|
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 = ''
|
postPatch = ''
|
||||||
patchShebangs install.sh
|
patchShebangs install.sh
|
||||||
|
|
||||||
substituteInPlace install.sh \
|
substituteInPlace install.sh \
|
||||||
--replace '$HOME/.local' $out \
|
--replace '$HOME/.local' $out \
|
||||||
--replace '$HOME/.config' $out/share
|
--replace '$HOME/.config' $out/share
|
||||||
|
|
||||||
|
substituteInPlace sddm/*/Main.qml \
|
||||||
|
--replace /usr $out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
|
@ -29507,7 +29507,9 @@ with pkgs;
|
||||||
|
|
||||||
layan-gtk-theme = callPackage ../data/themes/layan-gtk-theme { };
|
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 { };
|
lao = callPackage ../data/fonts/lao { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue