Subject: bug#35255: closed ([PATCH] gnu: Add go-github-com-gokyle-twofactor.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 08 Feb 2024 18:14:02 +0000

Your bug report

#35255: [PATCH] gnu: Add go-github-com-gokyle-twofactor.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
35255: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=35255
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: [PATCH] gnu: Add go-github-com-gokyle-twofactor.
From: Sharlatan Hellseher <[email-masked]>
To: [email-masked]
Date: Thu, 08 Feb 2024 18:13:33 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

The upstream project is abandon and there is no active forks.

This patch will be no applied.

Thanks,
Oleg

Subject: [PATCH] gnu: Add go-github-com-gokyle-twofactor.
From: Pkill -9 <[email-masked]>
To: [email-masked]
Cc: Pkill -9 <[email-masked]>
Date: Sat, 13 Apr 2019 11:07:31 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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 <[email-masked]>
 ;;; Copyright @ 2018, 2019 Katherine Cox-Buday <[email-masked]>
 ;;; Copyright @ 2019 Giovanni Biscuolo <[email-masked]>
+;;; Copyright @ 2019 Pkill -9 <[email-masked]>
 ;;;
 ;;; 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