anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / development / libraries / signond / default.nix
blob5e9e53855313620dc642ab307fe04d5b00812621
1 { stdenv, lib, fetchFromGitLab, qmake, qtbase, wrapQtAppsHook, doxygen }:
3 stdenv.mkDerivation {
4   pname = "signond";
5   version = "8.61-unstable-2023-11-24";
7   # pinned to fork with Qt6 support
8   src = fetchFromGitLab {
9     owner = "nicolasfella";
10     repo = "signond";
11     rev = "c8ad98249af541514ff7a81634d3295e712f1a39";
12     hash = "sha256-0FcSVF6cPuFEU9h7JIbanoosW/B4rQhFPOq7iBaOdKw=";
13   };
15   nativeBuildInputs = [
16     qmake
17     doxygen
18     wrapQtAppsHook
19   ];
21   buildInputs = [ qtbase ];
23   preConfigure = ''
24     substituteInPlace src/signond/signond.pro \
25       --replace "/etc" "@out@/etc"
26   '';
28   meta = with lib; {
29     homepage = "https://gitlab.com/accounts-sso/signond";
30     description = "Signon Daemon for Qt";
31     maintainers = with maintainers; [ freezeboy ];
32     platforms = platforms.linux;
33   };