about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/signond/default.nix
blob: ff5aeca626ebf123fdb17b406295962a568db942 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ mkDerivation, lib, fetchFromGitLab, qmake, doxygen }:

mkDerivation rec {
  pname = "signond";
  version = "8.61";

  src = fetchFromGitLab {
    owner = "accounts-sso";
    repo = pname;
    rev = "VERSION_${version}";
    sha256 = "sha256-d7JZmGpjIvSN9l1nvKbBZjF0OR5L5frPTGHF/pNEqHE=";
  };

  nativeBuildInputs = [
    qmake
    doxygen
  ];

  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";
    maintainers = with maintainers; [ freezeboy  ];
    platforms = platforms.linux;
  };
}