From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:54843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFFau-0007VY-91 for guix-patches@gnu.org; Sat, 13 Apr 2019 06:09:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hFFas-0005S5-BM for guix-patches@gnu.org; Sat, 13 Apr 2019 06:09:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44524) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hFFaq-0005RF-9s for guix-patches@gnu.org; Sat, 13 Apr 2019 06:09:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hFFaq-0000aK-3S for guix-patches@gnu.org; Sat, 13 Apr 2019 06:09:04 -0400 Subject: [bug#35255] [PATCH] gnu: Add go-github-com-gokyle-twofactor. Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:54742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFFZg-0007Sx-PS for guix-patches@gnu.org; Sat, 13 Apr 2019 06:07:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hFFZf-0004wz-Kj for guix-patches@gnu.org; Sat, 13 Apr 2019 06:07:52 -0400 Received: from aibo.runbox.com ([91.220.196.211]:37142) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hFFZf-0004u8-1h for guix-patches@gnu.org; Sat, 13 Apr 2019 06:07:51 -0400 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1hFFZb-0004b5-MW for guix-patches@gnu.org; Sat, 13 Apr 2019 12:07:47 +0200 From: Pkill -9 Date: Sat, 13 Apr 2019 11:07:31 +0100 Message-Id: <20190413100731.4720-1-pkill9@runbox.com> 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: 35255@debbugs.gnu.org Cc: Pkill -9 * gnu/packages/golang.scm (go-github-com-gokyle-twofactor): New variable. --- This patch adds the first of four Golang packages required for building the browserpass binary (Used by the browserpass chromium extension to communicate with 'pass'). The license is declared MIT here: https://raw.githubusercontent.com/gokyle/twofactor/master/LICENSE gnu/packages/golang.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 0b44bd3..e1ae77d 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -14,6 +14,7 @@ ;;; Copyright © 2018 Pierre Neidhardt ;;; Copyright @ 2018, 2019 Katherine Cox-Buday ;;; Copyright @ 2019 Giovanni Biscuolo +;;; Copyright @ 2019 Pkill -9 ;;; ;;; This file is part of GNU Guix. ;;; @@ -3274,3 +3275,25 @@ test. All locks are implemented with read-write mutexes. To use them like a regular mutex, simply ignore the RLock/RUnlock functions.") (license license:unlicense)))) + +(define-public go-github-com-gokyle-twofactor + (package + (name "go-github-com-gokyle-twofactor") + (version "1.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gokyle/twofactor.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0fhbw6cyq054w4frfvbgmffijg0bd1shvawm3ddl4cf1l12x1qxh")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/gokyle/twofactor")) + (home-page "https://github.com/gokyle/twofactor") + (synopsis "Two-factor authentication") + (description "Golang package for providing two-factor authentication.") + (license license:expat))) -- 2.21.0