-
-
Notifications
You must be signed in to change notification settings - Fork 16.6k
Open
Labels
0.kind: packaging requestRequest for a new package to be addedRequest for a new package to be added
Description
Project description
Signond OAuth 1.0 and 2.0 plugin.
This plugin is probably needed to enable adding Google accounts to KDE Plasma (e.g. https://discourse.nixos.org/t/add-google-account-in-kde/24631 or https://discourse.nixos.org/t/how-can-i-enable-online-accounts-like-google-in-kde/31721).
I got the package itself building (see below), but I don't know enough about QT and/or nixpkgs to properly integrate plugins for signond. Perhaps a similar way to how gsignond is done?
This derivation at least builds the package
{ lib, fetchFromGitLab, qtbase, stdenv, wrapQtAppsHook, signond, pkg-config, qmake }:
stdenv.mkDerivation rec {
pname = "signon-plugin-oauth2";
version = "0.25";
src = fetchFromGitLab {
owner = "accounts-sso";
repo = pname;
# Use a later commit than 0.25, as this disabled -Werror and prevents us from needing to patch.
rev = "d759439066f0a34e5ad352ebab0b3bb2790d429e";
sha256 = "sha256-4oyfxksatR/xZT7UvECfo3je3A77+XOnhTIrxBCEH2c=";
};
buildInputs = [
qtbase
signond
];
nativeBuildInputs = [
wrapQtAppsHook
pkg-config
qmake
];
INSTALL_ROOT = "$out";
SIGNON_PLUGINS_DIR = "${placeholder "out"}/lib/signond/plugins";
meta = with lib; {
homepage = "https://gitlab.com/accounts-sso/signon-plugin-oauth2";
description = "OAuth 1.0/2.0 plugin for the SignOn daemon";
maintainers = with maintainers; [ ];
platforms = platforms.linux;
};
}
Metadata
- homepage URL: https://gitlab.com/accounts-sso/signon-plugin-oauth2
- source URL: https://gitlab.com/accounts-sso/signon-plugin-oauth2
- license: gpl2
- platforms: linux
ChocolateLoverRaj, phush0, andrevmatos, Jackaed, Fabianoshz and 17 more
Metadata
Metadata
Assignees
Labels
0.kind: packaging requestRequest for a new package to be addedRequest for a new package to be added