unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Pkill -9 <pkill9@runbox.com>
To: 35255@debbugs.gnu.org
Cc: Pkill -9 <pkill9@runbox.com>
Subject: [bug#35255] [PATCH] gnu: Add go-github-com-gokyle-twofactor.
Date: Sat, 13 Apr 2019 11:07:31 +0100	[thread overview]
Message-ID: <20190413100731.4720-1-pkill9@runbox.com> (raw)

* 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 <mail@ambrevar.xyz>
 ;;; Copyright @ 2018, 2019 Katherine Cox-Buday <cox.katherine.e@gmail.com>
 ;;; Copyright @ 2019 Giovanni Biscuolo <g@xelera.eu>
+;;; Copyright @ 2019 Pkill -9 <pkill9@runbox.com>
 ;;;
 ;;; 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

             reply	other threads:[~2019-04-13 10:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-13 10:07 Pkill -9 [this message]
2019-04-13 17:46 ` [bug#35255] [PATCH] gnu: Add go-github-com-gokyle-twofactor Leo Famulari
2024-01-27 12:37 ` Sharlatan Hellseher
2024-02-08 18:13 ` bug#35255: " Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190413100731.4720-1-pkill9@runbox.com \
    --to=pkill9@runbox.com \
    --cc=35255@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).