1 { lib, stdenv, fetchFromGitLab, pkg-config, meson, ninja, glib, glib-networking
2 , sqlite, gobject-introspection, vala, gtk-doc, libsecret, docbook_xsl
3 , docbook_xml_dtd_43, docbook_xml_dtd_45, glibcLocales, makeWrapper
4 , symlinkJoin, gsignondPlugins, plugins }:
7 unwrapped = stdenv.mkDerivation rec {
11 outputs = [ "out" "dev" "devdoc" ];
13 src = fetchFromGitLab {
14 owner = "accounts-sso";
17 sha256 = "17cpil3lpijgyj2z5c41vhb7fpk17038k5ggyw9p6049jrlf423m";
39 propagatedBuildInputs = [ sqlite ];
46 LC_ALL = "en_US.UTF-8";
50 ./plugin-load-env.patch
54 description = "D-Bus service which performs user authentication on behalf of its clients";
55 mainProgram = "gsignond";
56 homepage = "https://gitlab.com/accounts-sso/gsignond";
57 license = licenses.lgpl21Plus;
59 platforms = platforms.linux;
63 in if plugins == [] then unwrapped
64 else import ./wrapper.nix {
65 inherit makeWrapper symlinkJoin plugins;