gnu: Add signon-plugin-oauth2.
* gnu/packages/qt.scm (signon-plugin-oauth2): New variable. Signed-off-by: Marius Bakke <marius@gnu.org>
parent
293ab255b2
commit
c7b97cb44b
|
@ -4329,6 +4329,42 @@ web server.")
|
||||||
(description "This package provides a D-Bus service which performs user
|
(description "This package provides a D-Bus service which performs user
|
||||||
authentication on behalf of its clients.")
|
authentication on behalf of its clients.")
|
||||||
(license license:lgpl2.1+)))
|
(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
|
;;; 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
|
;;; of a merge conflict, place them above by existing packages with similar
|
||||||
|
|
Reference in New Issue