2024-01-13 08:15:51 +00:00
|
|
|
{ stdenv, lib, fetchFromGitLab, qmake, qtbase, wrapQtAppsHook, doxygen }:
|
2021-01-05 17:05:55 +00:00
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
stdenv.mkDerivation {
|
2021-01-05 17:05:55 +00:00
|
|
|
pname = "signond";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "8.61-unstable-2023-11-24";
|
2021-01-05 17:05:55 +00:00
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
# pinned to fork with Qt6 support
|
2021-01-05 17:05:55 +00:00
|
|
|
src = fetchFromGitLab {
|
2024-02-29 20:09:43 +00:00
|
|
|
owner = "nicolasfella";
|
|
|
|
repo = "signond";
|
|
|
|
rev = "c8ad98249af541514ff7a81634d3295e712f1a39";
|
|
|
|
hash = "sha256-0FcSVF6cPuFEU9h7JIbanoosW/B4rQhFPOq7iBaOdKw=";
|
2021-01-05 17:05:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
qmake
|
|
|
|
doxygen
|
2024-01-13 08:15:51 +00:00
|
|
|
wrapQtAppsHook
|
2021-01-05 17:05:55 +00:00
|
|
|
];
|
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
buildInputs = [ qtbase ];
|
|
|
|
|
2021-01-05 17:05:55 +00:00
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace src/signond/signond.pro \
|
|
|
|
--replace "/etc" "@out@/etc"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://gitlab.com/accounts-sso/signond";
|
|
|
|
description = "Signon Daemon for Qt";
|
2024-01-13 08:15:51 +00:00
|
|
|
maintainers = with maintainers; [ freezeboy ];
|
2021-01-05 17:05:55 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|