1 { mkDerivation, lib, fetchFromGitLab, doxygen, glib, libaccounts-glib, pkg-config, qmake }:
7 src = fetchFromGitLab {
8 sha256 = "1vmpjvysm0ld8dqnx8msa15hlhrkny02cqycsh4k2azrnijg0xjz";
9 rev = "VERSION_${version}";
10 repo = "libaccounts-qt";
11 owner = "accounts-sso";
14 propagatedBuildInputs = [ glib libaccounts-glib ];
15 nativeBuildInputs = [ doxygen pkg-config qmake ];
17 # remove forbidden references to $TMPDIR
19 patchelf --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" "$out"/bin/*
23 description = "Qt library for accessing the online accounts database";
24 homepage = "https://gitlab.com/accounts-sso";
25 license = licenses.lgpl21;
26 platforms = with platforms; linux;