GNU bug report logs - #47769
[PATCH 0/6] Add wally-cli

Previous Next

Package: guix-patches;

Reported by: Martin Becze <mjbecze <at> riseup.net>

Date: Wed, 14 Apr 2021 10:15:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47769 in the body.
You can then email your comments to 47769 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#47769; Package guix-patches. (Wed, 14 Apr 2021 10:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Martin Becze <mjbecze <at> riseup.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 14 Apr 2021 10:15:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Martin Becze <mjbecze <at> riseup.net>
To: guix-patches <at> gnu.org
Cc: Martin Becze <mjbecze <at> riseup.net>
Subject: [PATCH 0/6] Add wally-cli
Date: Wed, 14 Apr 2021 05:14:13 -0500
This patch set adds wally-cli.


Martin Becze (6):
  gnu: Add go-gopkg-in-cheggaaa-pb-v1.
  gnu: Added go-github-com-logrusorgru-aurora.
  gnu: Added go-github-com-caarlos0-spin.
  gnu: Added go-github-com-marcinbor85-gohex.
  gnu: Added go-github-com-google-gousb.
  gnu: Added wally-cli.

 gnu/packages/flashing-tools.scm |  32 +++++++++
 gnu/packages/golang.scm         | 112 +++++++++++++++++++++++++++++++-
 2 files changed, 143 insertions(+), 1 deletion(-)

-- 
2.31.1





Information forwarded to guix-patches <at> gnu.org:
bug#47769; Package guix-patches. (Wed, 14 Apr 2021 10:21:01 GMT) Full text and rfc822 format available.

Message #8 received at 47769 <at> debbugs.gnu.org (full text, mbox):

From: Martin Becze <mjbecze <at> riseup.net>
To: 47769 <at> debbugs.gnu.org
Cc: Martin Becze <mjbecze <at> riseup.net>
Subject: [PATCH 1/6] gnu: Add go-gopkg-in-cheggaaa-pb-v1.
Date: Wed, 14 Apr 2021 05:20:05 -0500
* 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 6502740220..da61c4b8f2 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -22,7 +22,7 @@
 ;;; Copyright © 2020 Ryan Prior <rprior <at> protonmail.com>
 ;;; Copyright © 2020 Marius Bakke <marius <at> gnu.org>
 ;;; Copyright © 2020 raingloom <raingloom <at> riseup.net>
-;;; Copyright © 2020 Martin Becze <mjbecze <at> riseup.net>
+;;; Copyright © 2020, 2021 Martin Becze <mjbecze <at> riseup.net>
 ;;; Copyright © 2021 Ricardo Wurmus <rekado <at> elephly.net>
 ;;; Copyright © 2021 Guillaume Le Vaillant <glv <at> posteo.net>
 ;;;
@@ -6419,6 +6419,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.31.1





Information forwarded to guix-patches <at> gnu.org:
bug#47769; Package guix-patches. (Wed, 14 Apr 2021 10:21:02 GMT) Full text and rfc822 format available.

Message #11 received at 47769 <at> debbugs.gnu.org (full text, mbox):

From: Martin Becze <mjbecze <at> riseup.net>
To: 47769 <at> debbugs.gnu.org
Cc: Martin Becze <mjbecze <at> riseup.net>
Subject: [PATCH 2/6] gnu: Added go-github-com-logrusorgru-aurora.
Date: Wed, 14 Apr 2021 05:20:06 -0500
* 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 da61c4b8f2..3c9698f887 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6735,6 +6735,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.31.1





Information forwarded to guix-patches <at> gnu.org:
bug#47769; Package guix-patches. (Wed, 14 Apr 2021 10:21:02 GMT) Full text and rfc822 format available.

Message #14 received at 47769 <at> debbugs.gnu.org (full text, mbox):

From: Martin Becze <mjbecze <at> riseup.net>
To: 47769 <at> debbugs.gnu.org
Cc: Martin Becze <mjbecze <at> riseup.net>
Subject: [PATCH 3/6] gnu: Added go-github-com-caarlos0-spin.
Date: Wed, 14 Apr 2021 05:20:07 -0500
* 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 3c9698f887..05bec7ea3c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6757,6 +6757,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.31.1





Information forwarded to guix-patches <at> gnu.org:
bug#47769; Package guix-patches. (Wed, 14 Apr 2021 10:21:02 GMT) Full text and rfc822 format available.

Message #17 received at 47769 <at> debbugs.gnu.org (full text, mbox):

From: Martin Becze <mjbecze <at> riseup.net>
To: 47769 <at> debbugs.gnu.org
Cc: Martin Becze <mjbecze <at> riseup.net>
Subject: [PATCH 4/6] gnu: Added go-github-com-marcinbor85-gohex.
Date: Wed, 14 Apr 2021 05:20:08 -0500
* 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 05bec7ea3c..b218f3fa4a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6778,6 +6778,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.31.1





Information forwarded to guix-patches <at> gnu.org:
bug#47769; Package guix-patches. (Wed, 14 Apr 2021 10:21:03 GMT) Full text and rfc822 format available.

Message #20 received at 47769 <at> debbugs.gnu.org (full text, mbox):

From: Martin Becze <mjbecze <at> riseup.net>
To: 47769 <at> debbugs.gnu.org
Cc: Martin Becze <mjbecze <at> riseup.net>
Subject: [PATCH 5/6] gnu: Added go-github-com-google-gousb.
Date: Wed, 14 Apr 2021 05:20:09 -0500
* 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 b218f3fa4a..4643859424 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -56,6 +56,7 @@
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages lua)
+  #:use-module (gnu packages libusb)
   #:use-module (gnu packages mp3)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages perl)
@@ -4660,6 +4661,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.31.1





Information forwarded to guix-patches <at> gnu.org:
bug#47769; Package guix-patches. (Wed, 14 Apr 2021 10:21:03 GMT) Full text and rfc822 format available.

Message #23 received at 47769 <at> debbugs.gnu.org (full text, mbox):

From: Martin Becze <mjbecze <at> riseup.net>
To: 47769 <at> debbugs.gnu.org
Cc: Martin Becze <mjbecze <at> riseup.net>
Subject: [PATCH 6/6] gnu: Added wally-cli.
Date: Wed, 14 Apr 2021 05:20:10 -0500
* 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 4b597dca50..baf9af8715 100644
--- a/gnu/packages/flashing-tools.scm
+++ b/gnu/packages/flashing-tools.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2017 Julien Lepiller <julien <at> lepiller.eu>
 ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me <at> tobias.gr>
 ;;; Copyright © 2021 Ricardo Wurmus <rekado <at> elephly.net>
+;;; Copyright © 2021 Martin Becze <mjbecze <at> riseup.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -32,6 +33,7 @@
   #: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 autotools)
   #:use-module (gnu packages admin)
@@ -44,6 +46,7 @@
   #:use-module (gnu packages ghostscript)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages groff)
+  #:use-module (gnu packages golang)
   #:use-module (gnu packages pciutils)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages libusb)
@@ -517,3 +520,32 @@ Unifinished Extensible Firmware Interface (UEFI) images.")
 manipulating EPROM load files.  It reads and writes numerous EPROM file
 formats, and can perform many different manipulations.")
     (license license:gpl3+)))
+
+(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.31.1





Information forwarded to guix-patches <at> gnu.org:
bug#47769; Package guix-patches. (Wed, 14 Apr 2021 21:29:01 GMT) Full text and rfc822 format available.

Message #26 received at 47769 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Martin Becze <mjbecze <at> riseup.net>, 47769 <at> debbugs.gnu.org
Subject: Re: [bug#47769] [PATCH 6/6] gnu: Added wally-cli.
Date: Wed, 14 Apr 2021 23:28:46 +0200
[Message part 1 (text/plain, inline)]
On Wed, 2021-04-14 at 05:20 -0500, Martin Becze wrote:
> [...]
> +(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

Does upstream know about the failing tests?
Also, consider disabling *only* the known failing tests.

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#47769; Package guix-patches. (Wed, 14 Apr 2021 21:32:02 GMT) Full text and rfc822 format available.

Message #29 received at 47769 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Martin Becze <mjbecze <at> riseup.net>, 47769 <at> debbugs.gnu.org
Subject: Re: [bug#47769] [PATCH 5/6] gnu: Added go-github-com-google-gousb.
Date: Wed, 14 Apr 2021 23:31:31 +0200
[Message part 1 (text/plain, inline)]
On Wed, 2021-04-14 at 05:20 -0500, Martin Becze wrote:
> +(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)))

Most likely, "pkg-config" should be in native-inputs.

I believe there's a linter that checks whether packages should
be in native-inputs, but I'm not sure if pkg-config is detected.
Consider running ./pre-inst-env guix lint go-github-com-google-gousb.

Also, why is "libusb" in "propagated-inputs" and not in "inputs"?
"inputs" is usually preferred over "propagated-inputs", but there
are valid reasons to use "propagated-inputs" instead.

Greetings,
Maime.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#47769; Package guix-patches. (Wed, 14 Apr 2021 21:56:01 GMT) Full text and rfc822 format available.

Message #32 received at 47769 <at> debbugs.gnu.org (full text, mbox):

From: Nicolò Balzarotti <anothersms <at> gmail.com>
To: Martin Becze <mjbecze <at> riseup.net>, 47769 <at> debbugs.gnu.org
Cc: Martin Becze <mjbecze <at> riseup.net>
Subject: Re: [bug#47769] [PATCH 3/6] gnu: Added go-github-com-caarlos0-spin.
Date: Wed, 14 Apr 2021 23:55:28 +0200
Hi! I had the wally-cli patch floating around, but did not submit it
because of this package

Martin Becze <mjbecze <at> riseup.net> writes:

> * gnu/packages/golang.scm (go-github-com-caarlos0-spin): New variable.
> ---
> +    (license license:expat)))
> +

I cannot find the license in the repo, I opened an issue with no
response
https://github.com/caarlos0-graveyard/spin/issues/8

How do you know it's expat?




Information forwarded to guix-patches <at> gnu.org:
bug#47769; Package guix-patches. (Wed, 14 Apr 2021 22:03:02 GMT) Full text and rfc822 format available.

Message #35 received at 47769 <at> debbugs.gnu.org (full text, mbox):

From: Nicolò Balzarotti <anothersms <at> gmail.com>
To: Maxime Devos <maximedevos <at> telenet.be>, Martin Becze
 <mjbecze <at> riseup.net>, 47769 <at> debbugs.gnu.org
Subject: Re: [bug#47769] [PATCH 6/6] gnu: Added wally-cli.
Date: Thu, 15 Apr 2021 00:02:36 +0200
Maxime Devos <maximedevos <at> telenet.be> writes:

> On Wed, 2021-04-14 at 05:20 -0500, Martin Becze wrote:
>> [...]
>> +(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
>
> Does upstream know about the failing tests?
> Also, consider disabling *only* the known failing tests.

@Martin
I had a patch floating around using this commit:
0cf3dd904c5d67278d04182debb310c370754da6
where I commented that this fixed the tests.
Could you check?  Maybe we can ask upstream if they can tag a new
version.

Thanks, Nicolò




Information forwarded to guix-patches <at> gnu.org:
bug#47769; Package guix-patches. (Thu, 15 Apr 2021 13:00:02 GMT) Full text and rfc822 format available.

Message #38 received at 47769 <at> debbugs.gnu.org (full text, mbox):

From: Martin Becze <mjbecze <at> riseup.net>
To: Nicolò Balzarotti <anothersms <at> gmail.com>,
 47769 <at> debbugs.gnu.org
Subject: Re: [bug#47769] [PATCH 3/6] gnu: Added go-github-com-caarlos0-spin.
Date: Thu, 15 Apr 2021 07:59:08 -0500
uff go catch. I think I put that in there for a place holder and forgot 
about it. Not sure what to do here. B/c the code looks pretty abandoned.

On 4/14/21 4:55 PM, Nicolò Balzarotti wrote:
> 
> Hi! I had the wally-cli patch floating around, but did not submit it
> because of this package
> 
> Martin Becze <mjbecze <at> riseup.net> writes:
> 
>> * gnu/packages/golang.scm (go-github-com-caarlos0-spin): New variable.
>> ---
>> +    (license license:expat)))
>> +
> 
> I cannot find the license in the repo, I opened an issue with no
> response
> https://github.com/caarlos0-graveyard/spin/issues/8
> 
> How do you know it's expat?
> 




Information forwarded to guix-patches <at> gnu.org:
bug#47769; Package guix-patches. (Thu, 15 Apr 2021 13:12:01 GMT) Full text and rfc822 format available.

Message #41 received at 47769 <at> debbugs.gnu.org (full text, mbox):

From: Martin Becze <mjbecze <at> riseup.net>
To: Nicolò Balzarotti <anothersms <at> gmail.com>,
 Maxime Devos <maximedevos <at> telenet.be>, 47769 <at> debbugs.gnu.org
Subject: Re: [bug#47769] [PATCH 6/6] gnu: Added wally-cli.
Date: Thu, 15 Apr 2021 08:11:39 -0500
Just checked and it works! +1. Nicolo, is your patch on this list?

On 4/14/21 5:02 PM, Nicolò Balzarotti wrote:
> Maxime Devos <maximedevos <at> telenet.be> writes:
> 
>> On Wed, 2021-04-14 at 05:20 -0500, Martin Becze wrote:
>>> [...]
>>> +(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
>>
>> Does upstream know about the failing tests?
>> Also, consider disabling *only* the known failing tests.
> 
> @Martin
> I had a patch floating around using this commit:
> 0cf3dd904c5d67278d04182debb310c370754da6
> where I commented that this fixed the tests.
> Could you check?  Maybe we can ask upstream if they can tag a new
> version.
> 
> Thanks, Nicolò
> 




Information forwarded to guix-patches <at> gnu.org:
bug#47769; Package guix-patches. (Thu, 15 Apr 2021 13:45:03 GMT) Full text and rfc822 format available.

Message #44 received at 47769 <at> debbugs.gnu.org (full text, mbox):

From: Nicolò Balzarotti <anothersms <at> gmail.com>
To: Martin Becze <mjbecze <at> riseup.net>, Maxime Devos
 <maximedevos <at> telenet.be>, 47769 <at> debbugs.gnu.org
Subject: Re: [bug#47769] [PATCH 6/6] gnu: Added wally-cli.
Date: Thu, 15 Apr 2021 15:44:38 +0200
Martin Becze <mjbecze <at> riseup.net> writes:

> Just checked and it works! +1. Nicolo, is your patch on this list?
>
Nope, I was waiting for carlos0 to answer to my licensing issue.




Information forwarded to guix-patches <at> gnu.org:
bug#47769; Package guix-patches. (Thu, 15 Apr 2021 14:58:02 GMT) Full text and rfc822 format available.

Message #47 received at 47769 <at> debbugs.gnu.org (full text, mbox):

From: Nicolò Balzarotti <anothersms <at> gmail.com>
To: Martin Becze <mjbecze <at> riseup.net>, 47769 <at> debbugs.gnu.org
Subject: Re: [bug#47769] [PATCH 3/6] gnu: Added go-github-com-caarlos0-spin.
Date: Thu, 15 Apr 2021 16:57:03 +0200
Martin Becze <mjbecze <at> riseup.net> writes:

> uff go catch. I think I put that in there for a place holder and forgot 
> about it. Not sure what to do here. B/c the code looks pretty abandoned.
I told upstream about the problem here[fn:1] let's see

[fn:1] https://github.com/zsa/wally-cli/pull/7




Information forwarded to guix-patches <at> gnu.org:
bug#47769; Package guix-patches. (Tue, 04 May 2021 06:14:03 GMT) Full text and rfc822 format available.

Message #50 received at 47769 <at> debbugs.gnu.org (full text, mbox):

From: pukkamustard <pukkamustard <at> posteo.net>
To: divoplade <d <at> divoplade.fr>
Cc: 45558 <at> debbugs.gnu.org, 47769 <at> debbugs.gnu.org, guix-patches <at> gnu.org
Subject: Re: [bug#45558] [PATCH] Add js_of_ocaml
Date: Mon, 03 May 2021 12:38:13 +0000
[Message part 1 (text/plain, inline)]
Hi divoplade,

divoplade <d <at> divoplade.fr> writes:

> I finally got js_of_ocaml packaged.

Thank you!

> I'm not sure I did everything correctly (especially indentation

There do seem to be some indentation issues. Have you seen the 
section "Formatting Code" in the Guix manual? There is also a 
little script in the guix repository that will automatically 
indent a package definition.

Also your commit logs don't seem to be exactly in the required 
format. For example: "gnu: add ocaml-ppxlib" should be "gnu: Add 
ocaml-ppxlib.". Check the section "Submitting Patches" in the Guix 
manual and also the commit history for examples.

There are also some things that the linter discovers. For example 
you can omit the ".git" suffix for GitHub sources or that 
pkg-config is not needed in ocaml-graphics. You can run `git lint 
PACKAGE` too see what the linter has to say (and maybe should do 
that for modified package definitions).

> , but also how to make non-4.07 packages

This looks ok.

I submitted a series of patches that does this for many OCaml 
packages including the ones included in your series 
(https://issues.guix.gnu.org/47768). I'm sorry I should have 
included your work in my patch series instead of duplicating.

Maybe a small difference is that the patches in #47769 include a 
more recent version of ocaml-ppxlib (and the required version of 
ocaml-migrate-parsetree).

I have updated your patches for ocaml-graphics and js_of_ocaml so 
that they can be applied on #47769. Some changes in the attached 
patches:

ocaml-graphics:
- Use version 5.1.1 instead of 5.1.0 (5.1.1 was released after you 
 submitted the patches)
- Remove unnecessary inputs
- Change git-reference url to homepage (GitHub without the ".git" 
 suffix)
- Minor changes to description too make linter happy

ocaml-js-of-ocaml:
- Set home-page to https://ocsigen.org/js_of_ocaml/
- Use version 3.9.0 instead of 3.8.0 (again released after you 
 submitted the patches)
- Enable source maps by including ocaml-yojson as input
- Enable tests (this requires ocaml-ppx-expect, 
 ocaml-ppx-variants-conv, ocaml-variantslib and an updated 
 version of ocaml-num)

[0001-gnu-Add-ocaml-graphics.patch (text/x-patch, attachment)]
[0002-gnu-Add-ocaml-variantslib.patch (text/x-patch, attachment)]
[0003-gnu-Add-ocaml-ppx-variants-conv.patch (text/x-patch, attachment)]
[0004-gnu-Add-ocaml-ppx-expect.patch (text/x-patch, attachment)]
[0005-gnu-ocaml-num-Update-to-1.4.patch (text/x-patch, attachment)]
[0006-gnu-Add-ocaml-js-of-ocaml.patch (text/x-patch, attachment)]
[Message part 8 (text/plain, inline)]
Best regards,
pukkamustard

Information forwarded to guix-patches <at> gnu.org:
bug#47769; Package guix-patches. (Tue, 04 May 2021 09:11:02 GMT) Full text and rfc822 format available.

Message #53 received at 47769 <at> debbugs.gnu.org (full text, mbox):

From: divoplade <d <at> divoplade.fr>
To: pukkamustard <pukkamustard <at> posteo.net>
Cc: 45558 <at> debbugs.gnu.org, 47769 <at> debbugs.gnu.org, guix-patches <at> gnu.org
Subject: Re: [bug#45558] [PATCH] Add js_of_ocaml
Date: Tue, 04 May 2021 11:10:17 +0200
Hello,

Thank you for the interest in this issue. I realize I opened it at a
rather inconvenient time, so I guess it ended up on the bottom of the
pile for quite some time.

Le lundi 03 mai 2021 à 12:38 +0000, pukkamustard a écrit :
> I submitted a series of patches that does this for many OCaml 
> packages including the ones included in your series 
> (https://issues.guix.gnu.org/47768).

The situation is quite complex to me, please bear with me. If I
understand correctly, you pushed a lot of ocaml updates last month,
making some of the changes I made in december somewhat obsolete. Right?

So, now, I should your modified 5 patches in this issue on top of the
37 patches in the other issue to get js-of-ocaml. Is it correct?

At this rate, if it is possible, maybe you could just append these 5 to
the other issue, it would be easier to track.

What do you think?

I didn’t detect indentation problems by running ./etc/indent-code.el;
even if other packages in the module have some indentation problems.





Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Fri, 29 Mar 2024 14:28:01 GMT) Full text and rfc822 format available.

Notification sent to Martin Becze <mjbecze <at> riseup.net>:
bug acknowledged by developer. (Fri, 29 Mar 2024 14:28:01 GMT) Full text and rfc822 format available.

Message #58 received at 47769-done <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 47769-done <at> debbugs.gnu.org
Subject: [PATCH 0/6] Add wally-cli
Date: Fri, 29 Mar 2024 14:27:43 +0000
[Message part 1 (text/plain, inline)]
- accepted-patches [5/5]
  - [X] [PATCH 1/6] gnu: Add go-gopkg-in-cheggaaa-pb-v1.
    - Place in golang-xyz
  - [X] [PATCH 2/6] gnu: Added go-github-com-logrusorgru-aurora.
    - Place in golang-xyz
    - Change version to v2.0.3
  - [X] [PATCH 4/6] gnu: Added go-github-com-marcinbor85-gohex.
    - Place in golang-xyz
  - [X] [PATCH 5/6] gnu: Added go-github-com-google-gousb.
    - Place in libusb
    - Use v1.1.3 tag, see <https://github.com/google/gousb/issues/124>
  - [X] [PATCH 6/6] gnu: Added wally-cli.
    - Use latest commit, see <https://github.com/zsa/wally-cli/pull/7#issuecomment-2027199819>

- rejected-packages [1/1]
  - [X] [PATCH 3/6] gnu: Added go-github-com-caarlos0-spin.
    - Replace with go-github-com-briandowns-spinner, see <https://github.com/zsa/wally-cli/pull/7>.

*** Related issues
- [PATCH 1/6] gnu: Add go-gopkg-in-cheggaaa-pb-v1. https://issues.guix.gnu.org/46076
- [PATCH 6/6] gnu: Added wally-cli. https://issues.guix.gnu.org/46081
- [PATCH 0/5] Add wally-cli https://issues.guix.gnu.org/64778

Pushed with adjustments as 9f0ee9967e..1fb12cac94 to master.

Thanks,
Oleg
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 27 Apr 2024 11:24:53 GMT) Full text and rfc822 format available.

This bug report was last modified 7 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.