mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
whitesur-kde: 2022-05-01-unstable-2024-09-26 -> 2022-05-01-unstable-2… (#353112)
This commit is contained in:
commit
dcdd61e5e5
|
@ -1,29 +1,41 @@
|
|||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchFromGitHub
|
||||
, plasma-desktop
|
||||
, qtsvg
|
||||
, unstableGitUpdater
|
||||
}:
|
||||
|
||||
# NOTE:
|
||||
#
|
||||
# In order to use the whitesur sddm themes, the packages
|
||||
# kdePackages.plasma-desktop and kdePackages.qtsvg should be added to
|
||||
# the option services.displayManager.sddm.extraPackages of the sddm
|
||||
# module:
|
||||
#
|
||||
# environment.systemPackages = with pkgs; [
|
||||
# whitesur-kde
|
||||
# ];
|
||||
#
|
||||
# services.displayManager.sddm = {
|
||||
# enable = true;
|
||||
# package = pkgs.kdePackages.sddm;
|
||||
# theme = "WhiteSur-dark";
|
||||
# extraPackages = with pkgs; [
|
||||
# kdePackages.plasma-desktop
|
||||
# kdePackages.qtsvg
|
||||
# ];
|
||||
# };
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "whitesur-kde";
|
||||
version = "2022-05-01-unstable-2024-09-26";
|
||||
version = "2022-05-01-unstable-2024-11-01";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vinceliuice";
|
||||
repo = "whitesur-kde";
|
||||
rev = "8cbb617049ad79ecff63eb62770d360b73fed656";
|
||||
hash = "sha256-uNRO/r8kJByS4BDq0jXth+y0rg3GtGsbXoNLOZHpuNU=";
|
||||
rev = "efba411e11f8f4d3219bffb393d25afae62eacf2";
|
||||
hash = "sha256-052mKpf8e5pSecMzaWB3McOZ/uAqp/XGJjcVWnlKPLE=";
|
||||
};
|
||||
|
||||
# Propagate sddm theme dependencies to user env otherwise sddm does
|
||||
# not find them. Putting them in buildInputs is not enough.
|
||||
propagatedUserEnvPkgs = [
|
||||
plasma-desktop
|
||||
qtsvg
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs install.sh sddm/install.sh
|
||||
|
||||
|
@ -55,11 +67,11 @@ stdenvNoCC.mkDerivation {
|
|||
|
||||
passthru.updateScript = unstableGitUpdater { };
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "MacOS big sur like theme for KDE Plasma desktop";
|
||||
homepage = "https://github.com/vinceliuice/WhiteSur-kde";
|
||||
license = licenses.gpl3Only;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.romildo ];
|
||||
license = lib.licenses.gpl3Only;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = [ lib.maintainers.romildo ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue