From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:42256) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFPrO-0004NO-6v for guix-patches@gnu.org; Tue, 01 Oct 2019 17:39:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFPrN-0001fV-1S for guix-patches@gnu.org; Tue, 01 Oct 2019 17:39:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54492) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iFPrM-0001ev-K6 for guix-patches@gnu.org; Tue, 01 Oct 2019 17:39:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iFPrK-0007GP-B5 for guix-patches@gnu.org; Tue, 01 Oct 2019 17:39:04 -0400 Subject: [bug#37444] [PATCH v4 01/24] added go package go-golang-org-x-oauth2 Resent-Message-ID: From: Martin Becze Date: Tue, 1 Oct 2019 17:37:03 -0400 Message-Id: <20191001213726.21676-1-mjbecze@riseup.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37444@debbugs.gnu.org Cc: Martin Becze * gnu/packages/golang.scm (go-golang-org-x-oauth2): add package --- gnu/packages/golang.scm | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 819cc6229e..bf1a45f135 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -16,7 +16,8 @@ ;;; Copyright @ 2019 Giovanni Biscuolo ;;; Copyright @ 2019 Alex Griffin ;;; Copyright © 2019 Arun Isaac -;;; +;;; Copyright © 2019 Martin Becze +;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it @@ -1348,6 +1349,34 @@ limiting in Go.") (description "This package provides @{terminal}, which implements support functions for dealing with terminals, as commonly found on UNIX systems."))) +(define-public go-golang-org-x-oauth2 + (let ((commit "0f29369cfe4552d0e4bcddc57cc75f4d7e672a33") + (url "https://go.googlesource.com/oauth2")) + (package + (name "go-golang-org-x-oauth2") + (version (git-version "0.0.0" "0" commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url url) + (commit commit))) + (file-name (string-append "go.googlesource.com-oauth2-" + version "-checkout")) + (sha256 + (base32 + "06jwpvx0x2gjn2y959drbcir5kd7vg87k0r1216abk6rrdzzrzi2")))) + (build-system go-build-system) + (arguments + `(#:import-path "golang.org/x/oauth2")) + (propagated-inputs + `(("go-golang-org-x-net-context" ,go-golang-org-x-net-context))) + (synopsis "This package contains a client implementation for OAuth 2.0 + spec.") + (description "This package contains a client implementation for OAuth 2.0 + spec.") + (home-page url) + (license license:bsd-3)))) + (define-public go-github-com-burntsushi-toml (package (name "go-github-com-burntsushi-toml") -- 2.23.0