summaryrefslogtreecommitdiff
path: root/gnu/packages/authentication.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/authentication.scm')
-rw-r--r--gnu/packages/authentication.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/authentication.scm b/gnu/packages/authentication.scm
index 5f2cd00ec32..c64a8be83fc 100644
--- a/gnu/packages/authentication.scm
+++ b/gnu/packages/authentication.scm
@@ -1,6 +1,7 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2018, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr> 2;;; Copyright © 2018, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
3;;; Copyright © 2019, 2020, 2022 Ricardo Wurmus <rekado@elephly.net> 3;;; Copyright © 2019, 2020, 2022 Ricardo Wurmus <rekado@elephly.net>
4;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com>
4;;; 5;;;
5;;; This file is part of GNU Guix. 6;;; This file is part of GNU Guix.
6;;; 7;;;
@@ -27,6 +28,7 @@
27 #:use-module (gnu packages tls) 28 #:use-module (gnu packages tls)
28 #:use-module (gnu packages xml) 29 #:use-module (gnu packages xml)
29 #:use-module (guix build-system gnu) 30 #:use-module (guix build-system gnu)
31 #:use-module (guix build-system go)
30 #:use-module (guix download) 32 #:use-module (guix download)
31 #:use-module (guix git-download) 33 #:use-module (guix git-download)
32 #:use-module ((guix licenses) #:prefix license:) 34 #:use-module ((guix licenses) #:prefix license:)
@@ -88,6 +90,32 @@ data.")
88 (license (list license:lgpl2.1+ ; the libraries (liboath/ & libpskc/) 90 (license (list license:lgpl2.1+ ; the libraries (liboath/ & libpskc/)
89 license:gpl3+)))) ; the tools (everything else) 91 license:gpl3+)))) ; the tools (everything else)
90 92
93(define-public oauth2l
94 (package
95 (name "oauth2l")
96 (version "1.2.2")
97 (source
98 (origin
99 (method git-fetch)
100 (uri (git-reference
101 (url "https://github.com/google/oauth2l")
102 (commit (string-append "v" version))))
103 (file-name (git-file-name name version))
104 (sha256
105 (base32 "0a9x0b31ybyjg0k7923xw6zr6crm0kigcn8g6hyr228nbvw35r8w"))))
106 (build-system go-build-system)
107 (arguments
108 '(#:import-path "github.com/google/oauth2l"))
109 (home-page "https://github.com/google/oauth2l")
110 (synopsis "Simple CLI for interacting with Google API authentication")
111 (description
112 "@code{oauth2l} (pronounced ``oauth tool'') is a simple command-line tool
113for working with @url{https://developers.google.com/identity/protocols/OAuth2,
114Google OAuth 2.0} written in Go. Its primary use is to fetch and print OAuth
1152.0 access tokens, which can be used with other command-line tools and
116scripts.")
117 (license license:asl2.0)))
118
91(define-public yubico-pam 119(define-public yubico-pam
92 (package 120 (package
93 (name "yubico-pam") 121 (name "yubico-pam")