nixpkgs/pkgs/development/libraries/signond/default.nix
2022-03-15 09:00:15 +00:00

31 lines
671 B
Nix

{ 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;
};
}