guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

34/143: gnu: Add signon-plugin-oauth2.


From: guix-commits
Subject: 34/143: gnu: Add signon-plugin-oauth2.
Date: Mon, 21 Nov 2022 16:10:43 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit c7b97cb44b1f55c9317b86f2a894eb1f9da5cff6
Author: Petr Hodina <phodina@protonmail.com>
AuthorDate: Sun Aug 28 23:54:23 2022 +0200

    gnu: Add signon-plugin-oauth2.
    
    * gnu/packages/qt.scm (signon-plugin-oauth2): New variable.
    
    Signed-off-by: Marius Bakke <marius@gnu.org>
---
 gnu/packages/qt.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]