GNU bug report logs - #44814
gnu: Add oauth2l.

Previous Next

Package: guix-patches;

Reported by: elaexuotee <at> wilsonb.com

Date: Mon, 23 Nov 2020 08:46:01 UTC

Severity: normal

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 44814 in the body.
You can then email your comments to 44814 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#44814; Package guix-patches. (Mon, 23 Nov 2020 08:46:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to elaexuotee <at> wilsonb.com:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 23 Nov 2020 08:46:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: elaexuotee <at> wilsonb.com
To: guix-patches <at> gnu.org
Subject: gnu: Add oauth2l.
Date: Mon, 23 Nov 2020 17:45:10 +0900
[0001-gnu-Add-oauth2l.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#44814; Package guix-patches. (Wed, 03 Nov 2021 12:15:01 GMT) Full text and rfc822 format available.

Message #8 received at 44814 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "44814 <at> debbugs.gnu.org" <44814 <at> debbugs.gnu.org>
Subject: [PATCH v2] gnu: Add oauth2l.
Date: Wed, 03 Nov 2021 12:14:20 +0000
Here's updated version of the patch. Otherwise LGTM.

* gnu/packages/authentication.scm (oauth2l): New variable.

--8<---------------cut here---------------start------------->8---
diff --git a/gnu/packages/authentication.scm b/gnu/packages/authentication.scm
index a8070f4789..487b7171b1 100644
--- a/gnu/packages/authentication.scm
+++ b/gnu/packages/authentication.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2018, 2020, 2021 Tobias Geerinckx-Rice <me <at> tobias.gr>
 ;;; Copyright © 2019, 2020 Ricardo Wurmus <rekado <at> elephly.net>
+;;; Copyright © 2020 B. Wilson <elaexuotee <at> wilsonb.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -27,6 +28,7 @@ (define-module (gnu packages authentication)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages xml)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system go)
   #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
@@ -91,6 +93,32 @@ (define-public oath-toolkit
     (license (list license:lgpl2.1+     ; the libraries (liboath/ & libpskc/)
                    license:gpl3+))))    ; the tools (everything else)

+(define-public oauth2l
+  (package
+    (name "oauth2l")
+    (version "1.2.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/google/oauth2l")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0a9x0b31ybyjg0k7923xw6zr6crm0kigcn8g6hyr228nbvw35r8w"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/google/oauth2l"))
+    (home-page "https://github.com/google/oauth2l")
+    (synopsis "Simple CLI for interacting with Google API authentication")
+    (description
+     "@code{oauth2l} (pronounced ``oauth tool'') is a simple command-line tool
+for working with @url{https://developers.google.com/identity/protocols/OAuth2,
+Google OAuth 2.0} written in Go.  Its primary use is to fetch and print OAuth
+2.0 access tokens, which can be used with other command-line tools and
+scripts.")
+    (license license:asl2.0)))
+
 (define-public yubico-pam
   (let ((commit "b5bd00db81e0e0e0ecced65c684080bb56ddc35b")
         (revision "0"))
--
2.33.1




Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Fri, 14 Jan 2022 20:40:01 GMT) Full text and rfc822 format available.

Notification sent to elaexuotee <at> wilsonb.com:
bug acknowledged by developer. (Fri, 14 Jan 2022 20:40:02 GMT) Full text and rfc822 format available.

Message #13 received at 44814-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: phodina via Guix-patches via <guix-patches <at> gnu.org>
Cc: "44814 <at> debbugs.gnu.org" <44814-done <at> debbugs.gnu.org>,
 phodina <phodina <at> protonmail.com>
Subject: Re: [bug#44814] [PATCH v2] gnu: Add oauth2l.
Date: Fri, 14 Jan 2022 21:39:49 +0100
Hello,

phodina via Guix-patches via <guix-patches <at> gnu.org> writes:

> * gnu/packages/authentication.scm (oauth2l): New variable.

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou




Information forwarded to guix-patches <at> gnu.org:
bug#44814; Package guix-patches. (Fri, 14 Jan 2022 20:40:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 12 Feb 2022 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 45 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.