depot/pkgs/development/libraries/signond/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

34 lines
819 B
Nix

{ stdenv, lib, fetchFromGitLab, qmake, qtbase, wrapQtAppsHook, doxygen }:
stdenv.mkDerivation {
pname = "signond";
version = "8.61-unstable-2023-11-24";
# pinned to fork with Qt6 support
src = fetchFromGitLab {
owner = "nicolasfella";
repo = "signond";
rev = "c8ad98249af541514ff7a81634d3295e712f1a39";
hash = "sha256-0FcSVF6cPuFEU9h7JIbanoosW/B4rQhFPOq7iBaOdKw=";
};
nativeBuildInputs = [
qmake
doxygen
wrapQtAppsHook
];
buildInputs = [ qtbase ];
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;
};
}