unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#46076] [PATCH 1/6] gnu: Add go-gopkg-in-cheggaaa-pb-v1.
@ 2021-01-24 17:55 Martin Becze
  2021-01-24 17:55 ` [bug#46077] [PATCH 2/6] gnu: Added go-github-com-logrusorgru-aurora Martin Becze
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: Martin Becze @ 2021-01-24 17:55 UTC (permalink / raw)
  To: 46076

* gnu/packages/golang.scm (go-gopkg-in-cheggaaa-pb-v1): New variable.
---
 gnu/packages/golang.scm | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d34bb1acb7..915d64bc4d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -22,7 +22,7 @@
 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
 ;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
-;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
+;;; Copyright © 2020, 2021 Martin Becze <mjbecze@riseup.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6392,6 +6392,23 @@ inspired by the causal messaging system in the Pony programming language.")
 the terminal.")
     (license license:bsd-3)))
 
+(define-public go-gopkg-in-cheggaaa-pb-v1
+  (package
+    (inherit go-github-com-cheggaaa-pb)
+    (name "go-gopkg-in-cheggaaa-pb-v1")
+    (version "1.0.28")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gopkg.in/cheggaaa/pb.v1.git")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "13a66cqbpdif804qj12z9ad8r24va9q41gfk71qbc4zg1wsxs3rh"))))
+    (arguments
+     '(#:import-path "gopkg.in/cheggaaa/pb.v1"))))
+
 (define-public go-github-com-gologme-log
   ;; this is the same as v1.2.0, only the LICENSE file changed
   (let ((commit "720ba0b3ccf0a91bc6018c9967a2479f93f56a55"))
-- 
2.30.0





^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [bug#46077] [PATCH 2/6] gnu: Added go-github-com-logrusorgru-aurora.
  2021-01-24 17:55 [bug#46076] [PATCH 1/6] gnu: Add go-gopkg-in-cheggaaa-pb-v1 Martin Becze
@ 2021-01-24 17:55 ` Martin Becze
       [not found]   ` <handler.46077.B.16115109871101.ack@debbugs.gnu.org>
  2021-01-24 17:55 ` [bug#46080] [PATCH 3/6] gnu: Added go-github-com-caarlos0-spin Martin Becze
                   ` (5 subsequent siblings)
  6 siblings, 1 reply; 20+ messages in thread
From: Martin Becze @ 2021-01-24 17:55 UTC (permalink / raw)
  To: 46077

* gnu/packages/golang.scm (go-github-com-logrusorgru-aurora): New variable.
---
 gnu/packages/golang.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 915d64bc4d..384cdc5a1c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6683,6 +6683,28 @@ compressed streams in Go.")
     (home-page "https://github.com/ulikunitz/xz")
     (license license:bsd-3)))
 
+(define-public go-github-com-logrusorgru-aurora
+  (package
+    (name "go-github-com-logrusorgru-aurora")
+    (version "3.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/logrusorgru/aurora.git")
+             (commit (string-append "v" version))))
+       (sha256
+        (base32 "0z7cgj8gl69271d0ag4f4yjbsvbrnfibc96cs01spqf5krv2rzjc"))
+       (file-name (git-file-name name version))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/logrusorgru/aurora"))
+    (home-page "https://github.com/logrusorgru/aurora")
+    (synopsis "Ultimate ANSI colors for Golang")
+    (description "This package provides ANSI colors for Golang.  The package
+supports Printf/Sprintf etc.")
+    (license license:unlicense)))
+
 (define-public go-github-com-songmu-gitconfig
   (package
     (name "go-github-com-songmu-gitconfig")
-- 
2.30.0





^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [bug#46080] [PATCH 3/6] gnu: Added go-github-com-caarlos0-spin.
  2021-01-24 17:55 [bug#46076] [PATCH 1/6] gnu: Add go-gopkg-in-cheggaaa-pb-v1 Martin Becze
  2021-01-24 17:55 ` [bug#46077] [PATCH 2/6] gnu: Added go-github-com-logrusorgru-aurora Martin Becze
@ 2021-01-24 17:55 ` Martin Becze
       [not found]   ` <handler.46080.B.16115109961151.ack@debbugs.gnu.org>
  2024-03-29 14:35   ` bug#46080: [PATCH 3/6] gnu: Added go-github-com-caarlos0-spin Sharlatan Hellseher
  2021-01-24 17:55 ` [bug#46078] [PATCH 4/6] gnu: Added go-github-com-marcinbor85-gohex Martin Becze
                   ` (4 subsequent siblings)
  6 siblings, 2 replies; 20+ messages in thread
From: Martin Becze @ 2021-01-24 17:55 UTC (permalink / raw)
  To: 46080

* gnu/packages/golang.scm (go-github-com-caarlos0-spin): New variable.
---
 gnu/packages/golang.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 384cdc5a1c..0cd6053872 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6705,6 +6705,27 @@ compressed streams in Go.")
 supports Printf/Sprintf etc.")
     (license license:unlicense)))
 
+(define-public go-github-com-caarlos0-spin
+  (package
+    (name "go-github-com-caarlos0-spin")
+    (version "1.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/caarlos0-graveyard/spin.git")
+             (commit (string-append "v" version))))
+       (sha256
+        (base32 "1pnijds4145j8nsxvq8203r2sg2pbk7x8prkdg2ilghhrzqj6vyc"))
+       (file-name (git-file-name name version))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/caarlos0/spin"))
+    (home-page "https://github.com/caarlos0-graveyard/spin")
+    (synopsis "Simple spinner for cli apps")
+    (description "A very simple spinner for cli golang apps.")
+    (license license:expat)))
+
 (define-public go-github-com-songmu-gitconfig
   (package
     (name "go-github-com-songmu-gitconfig")
-- 
2.30.0





^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [bug#46078] [PATCH 4/6] gnu: Added go-github-com-marcinbor85-gohex.
  2021-01-24 17:55 [bug#46076] [PATCH 1/6] gnu: Add go-gopkg-in-cheggaaa-pb-v1 Martin Becze
  2021-01-24 17:55 ` [bug#46077] [PATCH 2/6] gnu: Added go-github-com-logrusorgru-aurora Martin Becze
  2021-01-24 17:55 ` [bug#46080] [PATCH 3/6] gnu: Added go-github-com-caarlos0-spin Martin Becze
@ 2021-01-24 17:55 ` Martin Becze
       [not found]   ` <handler.46078.B.16115109901132.ack@debbugs.gnu.org>
  2021-01-24 17:55 ` [bug#46079] [PATCH 5/6] gnu: Added go-github-com-google-gousb Martin Becze
                   ` (3 subsequent siblings)
  6 siblings, 1 reply; 20+ messages in thread
From: Martin Becze @ 2021-01-24 17:55 UTC (permalink / raw)
  To: 46078

* gnu/packages/golang.scm (go-github-com-marcinbor85-gohex): New variable.
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0cd6053872..da23ec7848 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6726,6 +6726,29 @@ supports Printf/Sprintf etc.")
     (description "A very simple spinner for cli golang apps.")
     (license license:expat)))
 
+(define-public go-github-com-marcinbor85-gohex
+  (let ((commit "baab2527a9a2a4abb3dc06baabedfa5e0268b8d8")
+        (revision "1"))
+    (package
+      (name "go-github-com-marcinbor85-gohex")
+      (version (git-version "0.0.1" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/marcinbor85/gohex")
+                      (commit commit)))
+                (sha256
+                 (base32
+                  "06v4cc6ld6vvxd4xm9k6l49lhcd9ncq7xfx35mj5b9r96ih49fiz"))
+                (file-name (git-file-name name version))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/marcinbor85/gohex"))
+      (home-page "https://godoc.org/github.com/marcinbor85/gohex")
+      (synopsis "Parse Intel hex files")
+      (description "A Go library for parsing Intel HEX files.")
+      (license license:expat))))
+
 (define-public go-github-com-songmu-gitconfig
   (package
     (name "go-github-com-songmu-gitconfig")
-- 
2.30.0





^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [bug#46079] [PATCH 5/6] gnu: Added go-github-com-google-gousb.
  2021-01-24 17:55 [bug#46076] [PATCH 1/6] gnu: Add go-gopkg-in-cheggaaa-pb-v1 Martin Becze
                   ` (2 preceding siblings ...)
  2021-01-24 17:55 ` [bug#46078] [PATCH 4/6] gnu: Added go-github-com-marcinbor85-gohex Martin Becze
@ 2021-01-24 17:55 ` Martin Becze
       [not found]   ` <handler.46079.B.16115109901138.ack@debbugs.gnu.org>
  2024-03-29 14:35   ` bug#46079: [PATCH 5/6] gnu: Added go-github-com-google-gousb Sharlatan Hellseher
  2021-01-24 17:55 ` [bug#46081] [PATCH 6/6] gnu: Added wally-cli Martin Becze
                   ` (2 subsequent siblings)
  6 siblings, 2 replies; 20+ messages in thread
From: Martin Becze @ 2021-01-24 17:55 UTC (permalink / raw)
  To: 46079

* gnu/packages/golang.scm (go-github-com-google-gousb): New variable.
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index da23ec7848..0600f07b48 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -57,6 +57,7 @@
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages lua)
+  #:use-module (gnu packages libusb)
   #:use-module (gnu packages mp3)
   #:use-module (gnu packages textutils)
   #:use-module (gnu packages tls)
@@ -4655,6 +4656,32 @@ GitHub API v3.")
 create or replace a file or symbolic link.")
     (license license:asl2.0)))
 
+(define-public go-github-com-google-gousb
+  (package
+    (name "go-github-com-google-gousb")
+    (version "2.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/google/gousb.git")
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "1aki6hk009sicrf7gxy5nkjmj4j7lsy0by4kjgd9bwq8ragfyv5x"))
+       (file-name (git-file-name name version))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/google/gousb"))
+    (propagated-inputs
+     `(("pkg-config" ,pkg-config)
+       ("libusb" ,libusb)))
+    (home-page "https://github.com/google/gousb")
+    (synopsis "Wrapping for libusb")
+    (description "The gousb package is an attempt at wrapping the libusb
+library into a Go-like binding.")
+    (license license:asl2.0)))
+
 (define-public go-golang.org-x-sync-errgroup
   (let ((commit "cd5d95a43a6e21273425c7ae415d3df9ea832eeb")
         (revision "0"))
-- 
2.30.0





^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [bug#46081] [PATCH 6/6] gnu: Added wally-cli.
  2021-01-24 17:55 [bug#46076] [PATCH 1/6] gnu: Add go-gopkg-in-cheggaaa-pb-v1 Martin Becze
                   ` (3 preceding siblings ...)
  2021-01-24 17:55 ` [bug#46079] [PATCH 5/6] gnu: Added go-github-com-google-gousb Martin Becze
@ 2021-01-24 17:55 ` Martin Becze
       [not found]   ` <handler.46081.B.16115109961157.ack@debbugs.gnu.org>
  2024-03-29 14:25   ` bug#46081: [PATCH 6/6] gnu: Added wally-cli Sharlatan Hellseher
  2021-01-24 18:10 ` [bug#46076] [PATCH 2/6] gnu: Added go-github-com-logrusorgru-aurora Martin Becze
  2024-03-29 14:24 ` bug#46076: [PATCH 1/6] gnu: Add go-gopkg-in-cheggaaa-pb-v1 Sharlatan Hellseher
  6 siblings, 2 replies; 20+ messages in thread
From: Martin Becze @ 2021-01-24 17:55 UTC (permalink / raw)
  To: 46081

* gnu/packages/flashing-tools.scm (wally-cli): New variable.
---
 gnu/packages/flashing-tools.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/flashing-tools.scm b/gnu/packages/flashing-tools.scm
index 669c45fd68..5aa7eef761 100644
--- a/gnu/packages/flashing-tools.scm
+++ b/gnu/packages/flashing-tools.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2017 Jonathan Brielmaier <jonathan.brielmaier@web.de>
 ;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
 ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2021 Martin Becze <mjbecze@riseup.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -31,11 +32,13 @@
   #:use-module (gnu packages)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system go)
   #:use-module (guix build-system python)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages elf)
+  #:use-module (gnu packages golang)
   #:use-module (gnu packages pciutils)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages libusb)
@@ -476,3 +479,32 @@ ME as far as possible (it only edits ME firmware image files).")
     (description "@code{uefitool} is a graphical image file editor for
 Unifinished Extensible Firmware Interface (UEFI) images.")
     (license license:bsd-2)))
+
+(define-public wally-cli
+  (package
+    (name "wally-cli")
+    (version "2.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/zsa/wally-cli.git")
+             (commit (string-append version "-linux"))))
+       (sha256
+        (base32
+         "0xz3z18bbnf736ngjj6jhnp3p2j55m5jhnb2xl6l5hybracfyhm7"))
+       (file-name (git-file-name name version))))
+    (build-system go-build-system)
+    (arguments
+     '(#:tests? #f                      ; tests fail on the linter
+       #:import-path "github.com/zsa/wally-cli"))
+    (native-inputs
+     `(("go-gopkg-in-cheggaaa-pb-v1" ,go-gopkg-in-cheggaaa-pb-v1)
+       ("go-github-com-google-gousb" ,go-github-com-google-gousb)
+       ("go-github-com-marcinbor85-gohex" ,go-github-com-marcinbor85-gohex)
+       ("go-github-com-caarlos0-spin" ,go-github-com-caarlos0-spin)
+       ("go-github-com-logrusorgru-aurora" ,go-github-com-logrusorgru-aurora)))
+    (home-page "https://ergodox-ez.com/pages/wally")
+    (synopsis "Flashing tool for ZSA keyboards")
+    (description "This tool is for flashing custom layouts to ZSA keyboards.")
+    (license license:expat)))
-- 
2.30.0





^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [bug#46081] Acknowledgement ([PATCH 6/6] gnu: Added wally-cli.)
       [not found]   ` <handler.46081.B.16115109961157.ack@debbugs.gnu.org>
@ 2021-01-24 18:02     ` Martin Becze
  0 siblings, 0 replies; 20+ messages in thread
From: Martin Becze @ 2021-01-24 18:02 UTC (permalink / raw)
  To: 46081





^ permalink raw reply	[flat|nested] 20+ messages in thread

* [bug#46080] Acknowledgement ([PATCH 3/6] gnu: Added go-github-com-caarlos0-spin.)
       [not found]   ` <handler.46080.B.16115109961151.ack@debbugs.gnu.org>
@ 2021-01-24 18:03     ` Martin Becze
  0 siblings, 0 replies; 20+ messages in thread
From: Martin Becze @ 2021-01-24 18:03 UTC (permalink / raw)
  To: 46080






^ permalink raw reply	[flat|nested] 20+ messages in thread

* [bug#46079] Acknowledgement ([PATCH 5/6] gnu: Added go-github-com-google-gousb.)
       [not found]   ` <handler.46079.B.16115109901138.ack@debbugs.gnu.org>
@ 2021-01-24 18:03     ` Martin Becze
  0 siblings, 0 replies; 20+ messages in thread
From: Martin Becze @ 2021-01-24 18:03 UTC (permalink / raw)
  To: 46079






^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#46078: Acknowledgement ([PATCH 4/6] gnu: Added go-github-com-marcinbor85-gohex.)
       [not found]   ` <handler.46078.B.16115109901132.ack@debbugs.gnu.org>
@ 2021-01-24 18:04     ` Martin Becze
  0 siblings, 0 replies; 20+ messages in thread
From: Martin Becze @ 2021-01-24 18:04 UTC (permalink / raw)
  To: 46078-done





^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#46077: Acknowledgement ([PATCH 2/6] gnu: Added go-github-com-logrusorgru-aurora.)
       [not found]   ` <handler.46077.B.16115109871101.ack@debbugs.gnu.org>
@ 2021-01-24 18:04     ` Martin Becze
  0 siblings, 0 replies; 20+ messages in thread
From: Martin Becze @ 2021-01-24 18:04 UTC (permalink / raw)
  To: 46077-done





^ permalink raw reply	[flat|nested] 20+ messages in thread

* [bug#46076] [PATCH 2/6] gnu: Added go-github-com-logrusorgru-aurora.
  2021-01-24 17:55 [bug#46076] [PATCH 1/6] gnu: Add go-gopkg-in-cheggaaa-pb-v1 Martin Becze
                   ` (4 preceding siblings ...)
  2021-01-24 17:55 ` [bug#46081] [PATCH 6/6] gnu: Added wally-cli Martin Becze
@ 2021-01-24 18:10 ` Martin Becze
  2021-01-24 18:10   ` [bug#46076] [PATCH 3/6] gnu: Added go-github-com-caarlos0-spin Martin Becze
                     ` (3 more replies)
  2024-03-29 14:24 ` bug#46076: [PATCH 1/6] gnu: Add go-gopkg-in-cheggaaa-pb-v1 Sharlatan Hellseher
  6 siblings, 4 replies; 20+ messages in thread
From: Martin Becze @ 2021-01-24 18:10 UTC (permalink / raw)
  To: 46076

* gnu/packages/golang.scm (go-github-com-logrusorgru-aurora): New variable.
---
 gnu/packages/golang.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 915d64bc4d..384cdc5a1c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6683,6 +6683,28 @@ compressed streams in Go.")
     (home-page "https://github.com/ulikunitz/xz")
     (license license:bsd-3)))
 
+(define-public go-github-com-logrusorgru-aurora
+  (package
+    (name "go-github-com-logrusorgru-aurora")
+    (version "3.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/logrusorgru/aurora.git")
+             (commit (string-append "v" version))))
+       (sha256
+        (base32 "0z7cgj8gl69271d0ag4f4yjbsvbrnfibc96cs01spqf5krv2rzjc"))
+       (file-name (git-file-name name version))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/logrusorgru/aurora"))
+    (home-page "https://github.com/logrusorgru/aurora")
+    (synopsis "Ultimate ANSI colors for Golang")
+    (description "This package provides ANSI colors for Golang.  The package
+supports Printf/Sprintf etc.")
+    (license license:unlicense)))
+
 (define-public go-github-com-songmu-gitconfig
   (package
     (name "go-github-com-songmu-gitconfig")
-- 
2.30.0





^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [bug#46076] [PATCH 3/6] gnu: Added go-github-com-caarlos0-spin.
  2021-01-24 18:10 ` [bug#46076] [PATCH 2/6] gnu: Added go-github-com-logrusorgru-aurora Martin Becze
@ 2021-01-24 18:10   ` Martin Becze
  2021-01-24 18:11   ` [bug#46076] [PATCH 4/6] gnu: Added go-github-com-marcinbor85-gohex Martin Becze
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 20+ messages in thread
From: Martin Becze @ 2021-01-24 18:10 UTC (permalink / raw)
  To: 46076

* gnu/packages/golang.scm (go-github-com-caarlos0-spin): New variable.
---
 gnu/packages/golang.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 384cdc5a1c..0cd6053872 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6705,6 +6705,27 @@ compressed streams in Go.")
 supports Printf/Sprintf etc.")
     (license license:unlicense)))
 
+(define-public go-github-com-caarlos0-spin
+  (package
+    (name "go-github-com-caarlos0-spin")
+    (version "1.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/caarlos0-graveyard/spin.git")
+             (commit (string-append "v" version))))
+       (sha256
+        (base32 "1pnijds4145j8nsxvq8203r2sg2pbk7x8prkdg2ilghhrzqj6vyc"))
+       (file-name (git-file-name name version))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/caarlos0/spin"))
+    (home-page "https://github.com/caarlos0-graveyard/spin")
+    (synopsis "Simple spinner for cli apps")
+    (description "A very simple spinner for cli golang apps.")
+    (license license:expat)))
+
 (define-public go-github-com-songmu-gitconfig
   (package
     (name "go-github-com-songmu-gitconfig")
-- 
2.30.0





^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [bug#46076] [PATCH 4/6] gnu: Added go-github-com-marcinbor85-gohex.
  2021-01-24 18:10 ` [bug#46076] [PATCH 2/6] gnu: Added go-github-com-logrusorgru-aurora Martin Becze
  2021-01-24 18:10   ` [bug#46076] [PATCH 3/6] gnu: Added go-github-com-caarlos0-spin Martin Becze
@ 2021-01-24 18:11   ` Martin Becze
  2021-01-24 18:11   ` [bug#46076] [PATCH 5/6] gnu: Added go-github-com-google-gousb Martin Becze
  2021-01-24 18:11   ` [bug#46076] [PATCH 6/6] gnu: Added wally-cli Martin Becze
  3 siblings, 0 replies; 20+ messages in thread
From: Martin Becze @ 2021-01-24 18:11 UTC (permalink / raw)
  To: 46076

* gnu/packages/golang.scm (go-github-com-marcinbor85-gohex): New variable.
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0cd6053872..da23ec7848 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6726,6 +6726,29 @@ supports Printf/Sprintf etc.")
     (description "A very simple spinner for cli golang apps.")
     (license license:expat)))
 
+(define-public go-github-com-marcinbor85-gohex
+  (let ((commit "baab2527a9a2a4abb3dc06baabedfa5e0268b8d8")
+        (revision "1"))
+    (package
+      (name "go-github-com-marcinbor85-gohex")
+      (version (git-version "0.0.1" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/marcinbor85/gohex")
+                      (commit commit)))
+                (sha256
+                 (base32
+                  "06v4cc6ld6vvxd4xm9k6l49lhcd9ncq7xfx35mj5b9r96ih49fiz"))
+                (file-name (git-file-name name version))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/marcinbor85/gohex"))
+      (home-page "https://godoc.org/github.com/marcinbor85/gohex")
+      (synopsis "Parse Intel hex files")
+      (description "A Go library for parsing Intel HEX files.")
+      (license license:expat))))
+
 (define-public go-github-com-songmu-gitconfig
   (package
     (name "go-github-com-songmu-gitconfig")
-- 
2.30.0





^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [bug#46076] [PATCH 5/6] gnu: Added go-github-com-google-gousb.
  2021-01-24 18:10 ` [bug#46076] [PATCH 2/6] gnu: Added go-github-com-logrusorgru-aurora Martin Becze
  2021-01-24 18:10   ` [bug#46076] [PATCH 3/6] gnu: Added go-github-com-caarlos0-spin Martin Becze
  2021-01-24 18:11   ` [bug#46076] [PATCH 4/6] gnu: Added go-github-com-marcinbor85-gohex Martin Becze
@ 2021-01-24 18:11   ` Martin Becze
  2021-01-24 18:11   ` [bug#46076] [PATCH 6/6] gnu: Added wally-cli Martin Becze
  3 siblings, 0 replies; 20+ messages in thread
From: Martin Becze @ 2021-01-24 18:11 UTC (permalink / raw)
  To: 46076

* gnu/packages/golang.scm (go-github-com-google-gousb): New variable.
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index da23ec7848..0600f07b48 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -57,6 +57,7 @@
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages lua)
+  #:use-module (gnu packages libusb)
   #:use-module (gnu packages mp3)
   #:use-module (gnu packages textutils)
   #:use-module (gnu packages tls)
@@ -4655,6 +4656,32 @@ GitHub API v3.")
 create or replace a file or symbolic link.")
     (license license:asl2.0)))
 
+(define-public go-github-com-google-gousb
+  (package
+    (name "go-github-com-google-gousb")
+    (version "2.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/google/gousb.git")
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "1aki6hk009sicrf7gxy5nkjmj4j7lsy0by4kjgd9bwq8ragfyv5x"))
+       (file-name (git-file-name name version))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/google/gousb"))
+    (propagated-inputs
+     `(("pkg-config" ,pkg-config)
+       ("libusb" ,libusb)))
+    (home-page "https://github.com/google/gousb")
+    (synopsis "Wrapping for libusb")
+    (description "The gousb package is an attempt at wrapping the libusb
+library into a Go-like binding.")
+    (license license:asl2.0)))
+
 (define-public go-golang.org-x-sync-errgroup
   (let ((commit "cd5d95a43a6e21273425c7ae415d3df9ea832eeb")
         (revision "0"))
-- 
2.30.0





^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [bug#46076] [PATCH 6/6] gnu: Added wally-cli.
  2021-01-24 18:10 ` [bug#46076] [PATCH 2/6] gnu: Added go-github-com-logrusorgru-aurora Martin Becze
                     ` (2 preceding siblings ...)
  2021-01-24 18:11   ` [bug#46076] [PATCH 5/6] gnu: Added go-github-com-google-gousb Martin Becze
@ 2021-01-24 18:11   ` Martin Becze
  3 siblings, 0 replies; 20+ messages in thread
From: Martin Becze @ 2021-01-24 18:11 UTC (permalink / raw)
  To: 46076

* gnu/packages/flashing-tools.scm (wally-cli): New variable.
---
 gnu/packages/flashing-tools.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/flashing-tools.scm b/gnu/packages/flashing-tools.scm
index 669c45fd68..5aa7eef761 100644
--- a/gnu/packages/flashing-tools.scm
+++ b/gnu/packages/flashing-tools.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2017 Jonathan Brielmaier <jonathan.brielmaier@web.de>
 ;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
 ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2021 Martin Becze <mjbecze@riseup.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -31,11 +32,13 @@
   #:use-module (gnu packages)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system go)
   #:use-module (guix build-system python)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages elf)
+  #:use-module (gnu packages golang)
   #:use-module (gnu packages pciutils)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages libusb)
@@ -476,3 +479,32 @@ ME as far as possible (it only edits ME firmware image files).")
     (description "@code{uefitool} is a graphical image file editor for
 Unifinished Extensible Firmware Interface (UEFI) images.")
     (license license:bsd-2)))
+
+(define-public wally-cli
+  (package
+    (name "wally-cli")
+    (version "2.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/zsa/wally-cli.git")
+             (commit (string-append version "-linux"))))
+       (sha256
+        (base32
+         "0xz3z18bbnf736ngjj6jhnp3p2j55m5jhnb2xl6l5hybracfyhm7"))
+       (file-name (git-file-name name version))))
+    (build-system go-build-system)
+    (arguments
+     '(#:tests? #f                      ; tests fail on the linter
+       #:import-path "github.com/zsa/wally-cli"))
+    (native-inputs
+     `(("go-gopkg-in-cheggaaa-pb-v1" ,go-gopkg-in-cheggaaa-pb-v1)
+       ("go-github-com-google-gousb" ,go-github-com-google-gousb)
+       ("go-github-com-marcinbor85-gohex" ,go-github-com-marcinbor85-gohex)
+       ("go-github-com-caarlos0-spin" ,go-github-com-caarlos0-spin)
+       ("go-github-com-logrusorgru-aurora" ,go-github-com-logrusorgru-aurora)))
+    (home-page "https://ergodox-ez.com/pages/wally")
+    (synopsis "Flashing tool for ZSA keyboards")
+    (description "This tool is for flashing custom layouts to ZSA keyboards.")
+    (license license:expat)))
-- 
2.30.0





^ permalink raw reply related	[flat|nested] 20+ messages in thread

* bug#46076: [PATCH 1/6] gnu: Add go-gopkg-in-cheggaaa-pb-v1.
  2021-01-24 17:55 [bug#46076] [PATCH 1/6] gnu: Add go-gopkg-in-cheggaaa-pb-v1 Martin Becze
                   ` (5 preceding siblings ...)
  2021-01-24 18:10 ` [bug#46076] [PATCH 2/6] gnu: Added go-github-com-logrusorgru-aurora Martin Becze
@ 2024-03-29 14:24 ` Sharlatan Hellseher
  6 siblings, 0 replies; 20+ messages in thread
From: Sharlatan Hellseher @ 2024-03-29 14:24 UTC (permalink / raw)
  To: 46076-done

[-- Attachment #1: Type: text/plain, Size: 101 bytes --]


Closing as duplicate.

wally-cli was added from  <https://issues.guix.gnu.org/47769>.

Thanks,
Oleg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#46081: [PATCH 6/6] gnu: Added wally-cli.
  2021-01-24 17:55 ` [bug#46081] [PATCH 6/6] gnu: Added wally-cli Martin Becze
       [not found]   ` <handler.46081.B.16115109961157.ack@debbugs.gnu.org>
@ 2024-03-29 14:25   ` Sharlatan Hellseher
  1 sibling, 0 replies; 20+ messages in thread
From: Sharlatan Hellseher @ 2024-03-29 14:25 UTC (permalink / raw)
  To: 46081-done

[-- Attachment #1: Type: text/plain, Size: 101 bytes --]


Closing as duplicate.

wally-cli was added from  <https://issues.guix.gnu.org/47769>.

Thanks,
Oleg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#46080: [PATCH 3/6] gnu: Added go-github-com-caarlos0-spin.
  2021-01-24 17:55 ` [bug#46080] [PATCH 3/6] gnu: Added go-github-com-caarlos0-spin Martin Becze
       [not found]   ` <handler.46080.B.16115109961151.ack@debbugs.gnu.org>
@ 2024-03-29 14:35   ` Sharlatan Hellseher
  1 sibling, 0 replies; 20+ messages in thread
From: Sharlatan Hellseher @ 2024-03-29 14:35 UTC (permalink / raw)
  To: 46080-done

[-- Attachment #1: Type: text/plain, Size: 102 bytes --]



Closing as duplicate.

wally-cli was added from  <https://issues.guix.gnu.org/47769>.

Thanks,
Oleg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#46079: [PATCH 5/6] gnu: Added go-github-com-google-gousb.
  2021-01-24 17:55 ` [bug#46079] [PATCH 5/6] gnu: Added go-github-com-google-gousb Martin Becze
       [not found]   ` <handler.46079.B.16115109901138.ack@debbugs.gnu.org>
@ 2024-03-29 14:35   ` Sharlatan Hellseher
  1 sibling, 0 replies; 20+ messages in thread
From: Sharlatan Hellseher @ 2024-03-29 14:35 UTC (permalink / raw)
  To: 46079-done

[-- Attachment #1: Type: text/plain, Size: 102 bytes --]



Closing as duplicate.

wally-cli was added from  <https://issues.guix.gnu.org/47769>.

Thanks,
Oleg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2024-03-29 14:36 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-24 17:55 [bug#46076] [PATCH 1/6] gnu: Add go-gopkg-in-cheggaaa-pb-v1 Martin Becze
2021-01-24 17:55 ` [bug#46077] [PATCH 2/6] gnu: Added go-github-com-logrusorgru-aurora Martin Becze
     [not found]   ` <handler.46077.B.16115109871101.ack@debbugs.gnu.org>
2021-01-24 18:04     ` bug#46077: Acknowledgement ([PATCH 2/6] gnu: Added go-github-com-logrusorgru-aurora.) Martin Becze
2021-01-24 17:55 ` [bug#46080] [PATCH 3/6] gnu: Added go-github-com-caarlos0-spin Martin Becze
     [not found]   ` <handler.46080.B.16115109961151.ack@debbugs.gnu.org>
2021-01-24 18:03     ` [bug#46080] Acknowledgement ([PATCH 3/6] gnu: Added go-github-com-caarlos0-spin.) Martin Becze
2024-03-29 14:35   ` bug#46080: [PATCH 3/6] gnu: Added go-github-com-caarlos0-spin Sharlatan Hellseher
2021-01-24 17:55 ` [bug#46078] [PATCH 4/6] gnu: Added go-github-com-marcinbor85-gohex Martin Becze
     [not found]   ` <handler.46078.B.16115109901132.ack@debbugs.gnu.org>
2021-01-24 18:04     ` bug#46078: Acknowledgement ([PATCH 4/6] gnu: Added go-github-com-marcinbor85-gohex.) Martin Becze
2021-01-24 17:55 ` [bug#46079] [PATCH 5/6] gnu: Added go-github-com-google-gousb Martin Becze
     [not found]   ` <handler.46079.B.16115109901138.ack@debbugs.gnu.org>
2021-01-24 18:03     ` [bug#46079] Acknowledgement ([PATCH 5/6] gnu: Added go-github-com-google-gousb.) Martin Becze
2024-03-29 14:35   ` bug#46079: [PATCH 5/6] gnu: Added go-github-com-google-gousb Sharlatan Hellseher
2021-01-24 17:55 ` [bug#46081] [PATCH 6/6] gnu: Added wally-cli Martin Becze
     [not found]   ` <handler.46081.B.16115109961157.ack@debbugs.gnu.org>
2021-01-24 18:02     ` [bug#46081] Acknowledgement ([PATCH 6/6] gnu: Added wally-cli.) Martin Becze
2024-03-29 14:25   ` bug#46081: [PATCH 6/6] gnu: Added wally-cli Sharlatan Hellseher
2021-01-24 18:10 ` [bug#46076] [PATCH 2/6] gnu: Added go-github-com-logrusorgru-aurora Martin Becze
2021-01-24 18:10   ` [bug#46076] [PATCH 3/6] gnu: Added go-github-com-caarlos0-spin Martin Becze
2021-01-24 18:11   ` [bug#46076] [PATCH 4/6] gnu: Added go-github-com-marcinbor85-gohex Martin Becze
2021-01-24 18:11   ` [bug#46076] [PATCH 5/6] gnu: Added go-github-com-google-gousb Martin Becze
2021-01-24 18:11   ` [bug#46076] [PATCH 6/6] gnu: Added wally-cli Martin Becze
2024-03-29 14:24 ` bug#46076: [PATCH 1/6] gnu: Add go-gopkg-in-cheggaaa-pb-v1 Sharlatan Hellseher

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).