1{
2 stdenv,
3 lib,
4 fetchFromGitLab,
5 qmake,
6 qtbase,
7 wrapQtAppsHook,
8 doxygen,
9}:
10
11stdenv.mkDerivation {
12 pname = "signond";
13 version = "8.61-unstable-2023-11-24";
14
15 # pinned to fork with Qt6 support
16 src = fetchFromGitLab {
17 owner = "nicolasfella";
18 repo = "signond";
19 rev = "c8ad98249af541514ff7a81634d3295e712f1a39";
20 hash = "sha256-0FcSVF6cPuFEU9h7JIbanoosW/B4rQhFPOq7iBaOdKw=";
21 };
22
23 nativeBuildInputs = [
24 qmake
25 doxygen
26 wrapQtAppsHook
27 ];
28
29 buildInputs = [ qtbase ];
30
31 preConfigure = ''
32 substituteInPlace src/signond/signond.pro \
33 --replace "/etc" "@out@/etc"
34 '';
35
36 meta = with lib; {
37 homepage = "https://gitlab.com/accounts-sso/signond";
38 description = "Signon Daemon for Qt";
39 maintainers = with maintainers; [ freezeboy ];
40 platforms = platforms.linux;
41 };
42}