From patchwork Sat Apr 13 10:07:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: pkill9 X-Patchwork-Id: 3279 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9F66816E10; Sat, 13 Apr 2019 11:09:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_MED,T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 328DA16DB6 for ; Sat, 13 Apr 2019 11:09:13 +0100 (BST) Received: from localhost ([127.0.0.1]:49306 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFFax-0007Vq-0a for patchwork@mira.cbaines.net; Sat, 13 Apr 2019 06:09:11 -0400 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 X-Loop: help-debbugs@gnu.org Subject: [bug#35255] [PATCH] gnu: Add go-github-com-gokyle-twofactor. Resent-From: Pkill -9 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 13 Apr 2019 10:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35255 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35255@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15551500832168 (code B ref -1); Sat, 13 Apr 2019 10:09:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Apr 2019 10:08:03 +0000 Received: from localhost ([127.0.0.1]:58068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFFZq-0000Yu-Vl for submit@debbugs.gnu.org; Sat, 13 Apr 2019 06:08:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40365) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFFZn-0000YF-6v for submit@debbugs.gnu.org; Sat, 13 Apr 2019 06:08:01 -0400 Received: from lists.gnu.org ([209.51.188.17]:47143) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hFFZi-0004y4-46 for submit@debbugs.gnu.org; Sat, 13 Apr 2019 06:07:54 -0400 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 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=rbselector1; h=Content-Transfer-Encoding:Content-Type:MIME-Version: Message-Id:Date:Subject:Cc:To:From; bh=g9cJGSt21rsQF1Lar/hFFkA7sVNF5WobLc0RxXa7QfE=; b=nRb1fH8V3x5NOanZzuxQNjtBCY +VneSghYE+UKLCaeU64cnIX75QuGDoNvp5CTy0FlWeOqHYG30yczARnaC4BUQwVdtxJ3Ppx1/XkZN olDZ06XZQrx4fVYPBbq3H3NIPbvf/0mP91pe96Pm3484wOYHmx79kEmpttNWWJgwck0yYjdOQVQR0 FT9fzSkeeKEwYV9cvm+Jp6XkO0z76tRa5I9nPeWT/s4HHpqs5muxAnUP7hHUj7gE9ELAKFYGB1pSl 4fn2ZWlfvaRpr9QUKfzpfyAtwFk91FUtceRDSQXeuS8z6i8on6C9w9QPh7m2Jle4BjFNeqKJSOYIk judrE9wA==; 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 Received: by mailfront12.runbox.com with esmtpsa (uid:850733 ) (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1hFFZS-0006Kn-SO; Sat, 13 Apr 2019 12:07:39 +0200 From: Pkill -9 Date: Sat, 13 Apr 2019 11:07:31 +0100 Message-Id: <20190413100731.4720-1-pkill9@runbox.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Pkill -9 Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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)))