diff options
author | Petr Hodina <phodina@protonmail.com> | 2022-08-28 23:54:23 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-11-21 22:01:07 +0100 |
commit | c7b97cb44b1f55c9317b86f2a894eb1f9da5cff6 (patch) | |
tree | ddf531f23d3137415867718aa0ef830327c54b31 /gnu | |
parent | 293ab255b24d9a3abb709611af604a59249322f9 (diff) | |
download | guix-c7b97cb44b1f55c9317b86f2a894eb1f9da5cff6.tar guix-c7b97cb44b1f55c9317b86f2a894eb1f9da5cff6.tar.gz |
gnu: Add signon-plugin-oauth2.
* gnu/packages/qt.scm (signon-plugin-oauth2): New variable.
Signed-off-by: Marius Bakke <marius@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/qt.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 757a920056..925bcc8f35 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -4329,6 +4329,42 @@ web server.") (description "This package provides a D-Bus service which performs user authentication on behalf of its clients.") (license license:lgpl2.1+))) + +(define-public signon-plugin-oauth2 + (package + (name "signon-plugin-oauth2") + (version "0.25") + (home-page "https://gitlab.com/accounts-sso/signon-plugin-oauth2") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "VERSION_" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "16aslnyk8jdg03zcg97rp6qzd0gmclj14hyhliksz8jgfz1l0w7c")))) + (build-system qt-build-system) + (native-inputs (list doxygen pkg-config)) + (inputs (list signond)) + (arguments + (list #:tests? #f ;no tests + #:make-flags #~(list (string-append "INSTALL_ROOT=" #$output)) + #:phases + #~(modify-phases %standard-phases + (replace 'configure + (lambda _ + (substitute* "common-project-config.pri" + (("-Werror") + "")) + (invoke "qmake" + (string-append "PREFIX=" #$output) + (string-append "LIBDIR=" #$output "/lib"))))))) + (synopsis "OAuth 2 plugin for signon") + (description + "This plugin for the Accounts-SSO SignOn daemon handles the OAuth +1.0 and 2.0 authentication protocols.") + (license license:lgpl2.1+))) ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar |