elegant-sddm: replace with Qt6 compatible repo
This commit is contained in:
committed by
Gaetan Lepage
parent
62b21fb443
commit
47a9506e88
@@ -16,6 +16,8 @@
|
||||
- `kanata` now requires `karabiner-dk` version 6.0+ or later.
|
||||
The package has been updated to use the new `karabiner-dk` package and the `darwinDriver` output stays at the version defined in the package.
|
||||
|
||||
- `elegant-sddm` has been updated to be Qt6 compatible. Themes for SDDM are slightly different so read the [wiki](https://wiki.nixos.org/wiki/SDDM_Themes) for more.
|
||||
|
||||
- `iroh` has been removed and split up into `iroh-dns-server` and `iroh-relay`.
|
||||
|
||||
- All Log4Shell vulnerability scanners were removed, as they were all unmaintained upstream and are no longer relevant given that the vulnerability has been fixed upstream for several years.
|
||||
|
||||
@@ -3,18 +3,10 @@
|
||||
formats,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
libsForQt5,
|
||||
/*
|
||||
An example of how you can override the background with a NixOS wallpaper
|
||||
*
|
||||
* environment.systemPackages = [
|
||||
* (pkgs.elegant-sddm.override {
|
||||
* themeConfig.General = {
|
||||
background = "${pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom.gnomeFilePath}";
|
||||
* };
|
||||
* })
|
||||
* ];
|
||||
*/
|
||||
kdePackages,
|
||||
|
||||
# Override themeConfig.General.background for custom backgrounds
|
||||
# https://wiki.nixos.org/wiki/SDDM_Themes
|
||||
themeConfig ? null,
|
||||
}:
|
||||
|
||||
@@ -24,18 +16,18 @@ in
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "elegant-sddm";
|
||||
version = "unstable-2024-02-08";
|
||||
version = "0-unstable-2024-03-30";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "surajmandalcell";
|
||||
repo = "Elegant-sddm";
|
||||
rev = "3102e880f46a1b72c929d13cd0a3fb64f973952a";
|
||||
hash = "sha256-yn0fTYsdZZSOcaYlPCn8BUIWeFIKcTI1oioTWqjYunQ=";
|
||||
owner = "rainD4X";
|
||||
repo = "Elegant-sddm-qt6";
|
||||
rev = "66952cbe32460938c0b6e8c6cf3343047af098f0";
|
||||
hash = "sha256-l4gv1PEVWpLmzNt1c+dHTHtM5WlEsXdDgW3q8U3FMUQ=";
|
||||
};
|
||||
|
||||
dontWrapQtApps = true;
|
||||
propagatedBuildInputs = [
|
||||
libsForQt5.qtgraphicaleffects
|
||||
kdePackages.qt5compat
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
@@ -51,15 +43,9 @@ stdenvNoCC.mkDerivation {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
mkdir -p $out/nix-support
|
||||
|
||||
echo ${libsForQt5.qtgraphicaleffects} >> $out/nix-support/propagated-user-env-packages
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Sleek and stylish SDDM theme crafted in QML";
|
||||
homepage = "https://github.com/surajmandalcell/Elegant-sddm";
|
||||
description = "Sleek and stylish SDDM theme crafted in QML for Qt6";
|
||||
homepage = "https://github.com/rainD4X/Elegant-sddm-qt6";
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user