signond: clean up, make buildable with Qt6

This commit is contained in:
K900
2024-01-04 13:51:59 +03:00
parent b7afb78da3
commit 6d0fa8c7f8
@@ -1,6 +1,6 @@
{ mkDerivation, lib, fetchFromGitLab, qmake, doxygen }:
{ stdenv, lib, fetchFromGitLab, qmake, qtbase, wrapQtAppsHook, doxygen }:
mkDerivation rec {
stdenv.mkDerivation rec {
pname = "signond";
version = "8.61";
@@ -14,8 +14,11 @@ mkDerivation rec {
nativeBuildInputs = [
qmake
doxygen
wrapQtAppsHook
];
buildInputs = [ qtbase ];
preConfigure = ''
substituteInPlace src/signond/signond.pro \
--replace "/etc" "@out@/etc"
@@ -24,7 +27,7 @@ mkDerivation rec {
meta = with lib; {
homepage = "https://gitlab.com/accounts-sso/signond";
description = "Signon Daemon for Qt";
maintainers = with maintainers; [ freezeboy ];
maintainers = with maintainers; [ freezeboy ];
platforms = platforms.linux;
};
}