;; SPDX-FileCopyrightText: 2023 Hilton Chain ;; ;; SPDX-License-Identifier: GPL-3.0-or-later (define-module (rosenthal packages authentication) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system go) #:use-module (guix git-download) #:use-module (guix packages) #:use-module (gnu packages golang) #:use-module (rosenthal packages golang)) (define-public misso (let ((commit "33faca42450f78bab2cac0421d693d8742b34969") (revision "0")) (package (name "misso") (version (git-version "0" revision commit)) (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/nyaone/misso") (commit commit))) (file-name (git-file-name name version)) (sha256 (base32 "0yn9i9djbnlvxxiyrbm5kbgd2klpl59374kr60hgjz6qw1pik6gf")))) (build-system go-build-system) (arguments (list #:go go-1.19 #:install-source? #f #:import-path "misso")) (propagated-inputs (list go-github-com-gin-gonic-gin go-github-com-go-redis-redis-v9 go-github-com-ory-hydra-client-go-v2 go-go-uber-org-zap go-gopkg-in-yaml-v3)) (home-page "https://sso.nya.one/") (synopsis "Single-Sign-On with Misskey") (description "This package provides @code{MiSSO}, a Single-Sign-On system for @code{Misskey}.") (license license:agpl3))))