nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ mkDerivation, lib, fetchFromGitLab, doxygen, glib, libaccounts-glib, pkg-config, qmake }:
2
3mkDerivation rec {
4 pname = "accounts-qt";
5 version = "1.16";
6
7 src = fetchFromGitLab {
8 sha256 = "1vmpjvysm0ld8dqnx8msa15hlhrkny02cqycsh4k2azrnijg0xjz";
9 rev = "VERSION_${version}";
10 repo = "libaccounts-qt";
11 owner = "accounts-sso";
12 };
13
14 propagatedBuildInputs = [ glib libaccounts-glib ];
15 nativeBuildInputs = [ doxygen pkg-config qmake ];
16
17 # Hack to avoid TMPDIR in RPATHs.
18 preFixup = ''rm -rf "$(pwd)" '';
19
20 meta = with lib; {
21 description = "Qt library for accessing the online accounts database";
22 homepage = "https://gitlab.com/accounts-sso";
23 license = licenses.lgpl21;
24 platforms = with platforms; linux;
25 };
26}