unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#64222] [PATCH 0/4] Add senpai IRC client
@ 2023-06-22 10:52 guix-patches--- via
  2023-06-22 10:54 ` [bug#64222] [PATCH 1/4] gnu: go-github-com-godbus-dbus: Update to 5.1.0 guix-patches--- via
  2023-10-12 15:12 ` bug#64222: [PATCH 0/4] Add senpai IRC client Ludovic Courtès
  0 siblings, 2 replies; 7+ messages in thread
From: guix-patches--- via @ 2023-06-22 10:52 UTC (permalink / raw)
  To: 64222; +Cc: Nguyễn Gia Phong

Nguyễn Gia Phong (4):
  gnu: go-github-com-godbus-dbus: Update to 5.1.0
  gnu: Add go-github-com-delthas-go-libnp
  gnu: Add go-github-com-delthas-go-localeinfo
  gnu: Add senpai.

 gnu/packages/golang.scm    | 48 +++++++++++++++++++++++++++++++++--
 gnu/packages/messaging.scm | 52 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 98 insertions(+), 2 deletions(-)


base-commit: 7f3c6d3b3ba86a8051e394e4ec9a6f6089753cb1
-- 
2.40.1





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

* [bug#64222] [PATCH 1/4] gnu: go-github-com-godbus-dbus: Update to 5.1.0
  2023-06-22 10:52 [bug#64222] [PATCH 0/4] Add senpai IRC client guix-patches--- via
@ 2023-06-22 10:54 ` guix-patches--- via
  2023-06-22 10:54   ` [bug#64222] [PATCH 2/4] gnu: Add go-github-com-delthas-go-libnp guix-patches--- via
                     ` (2 more replies)
  2023-10-12 15:12 ` bug#64222: [PATCH 0/4] Add senpai IRC client Ludovic Courtès
  1 sibling, 3 replies; 7+ messages in thread
From: guix-patches--- via @ 2023-06-22 10:54 UTC (permalink / raw)
  To: 64222; +Cc: Nguyễn Gia Phong

gnu/packages/golang.scm (go-github-com-godbus-dbus): Update to 5.1.0.

Signed-off-by: Nguyễn Gia Phong <mcsinyx@disroot.org>
---
 gnu/packages/golang.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e4c4cb299b48..a392c10cd7fe 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9909,7 +9909,7 @@ (define-public go-github-com-xdg-go-scram
 (define-public go-github-com-godbus-dbus
   (package
     (name "go-github-com-godbus-dbus")
-    (version "5.0.3")
+    (version "5.1.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -9918,7 +9918,7 @@ (define-public go-github-com-godbus-dbus
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1bkc904073k807yxg6mvqaxrr6ammmhginr9p54jfb55mz3hfw3s"))))
+                "1kayd4x7idrhi06ahh5kqkgwzgh9icvv71mjar2d0jl486dfs8r5"))))
     (build-system go-build-system)
     (arguments
      `(#:tests? #f ;no /var/run/dbus/system_bus_socket

base-commit: 7f3c6d3b3ba86a8051e394e4ec9a6f6089753cb1
-- 
2.40.1





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

* [bug#64222] [PATCH 2/4] gnu: Add go-github-com-delthas-go-libnp
  2023-06-22 10:54 ` [bug#64222] [PATCH 1/4] gnu: go-github-com-godbus-dbus: Update to 5.1.0 guix-patches--- via
@ 2023-06-22 10:54   ` guix-patches--- via
  2023-06-22 10:54   ` [bug#64222] [PATCH 3/4] gnu: Add go-github-com-delthas-go-localeinfo guix-patches--- via
  2023-06-22 10:54   ` [bug#64222] [PATCH 4/4] gnu: Add senpai guix-patches--- via
  2 siblings, 0 replies; 7+ messages in thread
From: guix-patches--- via @ 2023-06-22 10:54 UTC (permalink / raw)
  To: 64222; +Cc: Nguyễn Gia Phong

gnu/packages/golang.scm (go-github-com-delthas-go-libnp): New variable.

Signed-off-by: Nguyễn Gia Phong <mcsinyx@disroot.org>
---
 gnu/packages/golang.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a392c10cd7fe..9ffe8b3e7cbf 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9931,6 +9931,28 @@ (define-public go-github-com-godbus-dbus
 bindings for the D-Bus message bus system.")
     (license license:bsd-2)))
 
+(define-public go-github-com-delthas-go-libnp
+  (let ((commit "0e45ece1f878f202fee2c74801e287804668f677"))
+    (package
+      (name "go-github-com-delthas-go-libnp")
+      (version (git-version "0.0.0" "0" commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                       (url "https://github.com/delthas/go-libnp")
+                       (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                  (base32
+                    "1hylpvwz3kb8wr00knba6mggjacak2vmqafwysansj0ns038lp8w"))))
+      (build-system go-build-system)
+      (arguments `(#:import-path "github.com/delthas/go-libnp"))
+      (propagated-inputs (list go-github-com-godbus-dbus))
+      (home-page "https://github.com/delthas/go-libnp")
+      (synopsis "Tiny library providing information about now-playing media")
+      (description "@code{go-libnp} is a tiny cross-platform library for extracting information about the music/image/video that is Now Playing on the system.")
+      (license license:expat))))
+
 (define-public go-github-com-prometheus-common
   (package
     (name "go-github-com-prometheus-common")
-- 
2.40.1





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

* [bug#64222] [PATCH 3/4] gnu: Add go-github-com-delthas-go-localeinfo
  2023-06-22 10:54 ` [bug#64222] [PATCH 1/4] gnu: go-github-com-godbus-dbus: Update to 5.1.0 guix-patches--- via
  2023-06-22 10:54   ` [bug#64222] [PATCH 2/4] gnu: Add go-github-com-delthas-go-libnp guix-patches--- via
@ 2023-06-22 10:54   ` guix-patches--- via
  2023-06-22 10:54   ` [bug#64222] [PATCH 4/4] gnu: Add senpai guix-patches--- via
  2 siblings, 0 replies; 7+ messages in thread
From: guix-patches--- via @ 2023-06-22 10:54 UTC (permalink / raw)
  To: 64222; +Cc: Nguyễn Gia Phong

gnu/packages/golang.scm (go-github-com-delthas-go-localeinfo): New variable.

Signed-off-by: Nguyễn Gia Phong <mcsinyx@disroot.org>
---
 gnu/packages/golang.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9ffe8b3e7cbf..d2d7f855871d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9953,6 +9953,28 @@ (define-public go-github-com-delthas-go-libnp
       (description "@code{go-libnp} is a tiny cross-platform library for extracting information about the music/image/video that is Now Playing on the system.")
       (license license:expat))))
 
+(define-public go-github-com-delthas-go-localeinfo
+  (let ((commit "686a1e18511819b2f1625f00437f6e1246c04a5d"))
+    (package
+      (name "go-github-com-delthas-go-localeinfo")
+      (version (git-version "0.0.0" "0" commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                       (url "https://github.com/delthas/go-localeinfo")
+                       (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                  (base32
+                    "0r0v42ggvyss8327nggwinxl42pj4l0dwz96g9wk1w8h8vmfrh0z"))))
+      (build-system go-build-system)
+      (arguments `(#:tests? #f ; FIXME: tests assume certain locale
+                   #:import-path "github.com/delthas/go-localeinfo"))
+      (home-page "https://github.com/delthas/go-localeinfo")
+      (synopsis "Library for extracting locale information")
+      (description "@code{go-localeinfo} extracts monetary/numeric/time formatting information, rather than the current locale name.")
+      (license license:expat))))
+
 (define-public go-github-com-prometheus-common
   (package
     (name "go-github-com-prometheus-common")
-- 
2.40.1





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

* [bug#64222] [PATCH 4/4] gnu: Add senpai.
  2023-06-22 10:54 ` [bug#64222] [PATCH 1/4] gnu: go-github-com-godbus-dbus: Update to 5.1.0 guix-patches--- via
  2023-06-22 10:54   ` [bug#64222] [PATCH 2/4] gnu: Add go-github-com-delthas-go-libnp guix-patches--- via
  2023-06-22 10:54   ` [bug#64222] [PATCH 3/4] gnu: Add go-github-com-delthas-go-localeinfo guix-patches--- via
@ 2023-06-22 10:54   ` guix-patches--- via
  2 siblings, 0 replies; 7+ messages in thread
From: guix-patches--- via @ 2023-06-22 10:54 UTC (permalink / raw)
  To: 64222; +Cc: Nguyễn Gia Phong

* gnu/packaging/messaging.scm (senpai): New variable.

Signed-off-by: Nguyễn Gia Phong <mcsinyx@disroot.org>
---
 gnu/packages/messaging.scm | 52 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 3629d9a6d544..4fa04e5a1842 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -3496,4 +3496,56 @@ (define-public pn
 a text snippet), using @code{libphonenumber}.")
     (license license:asl2.0)))
 
+(define-public senpai
+  (package
+    (name "senpai")
+    (version "0.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://git.sr.ht/~taiite/senpai")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1qw955i5f3jr42h4afr23v7wq616bcsyq68if75qdw8j1yibnpmb"))))
+    (build-system go-build-system)
+    (arguments
+      (list #:import-path "git.sr.ht/~taiite/senpai/cmd/senpai"
+            #:unpack-path "git.sr.ht/~taiite/senpai"
+            #:install-source? #f
+            #:phases
+            #~(modify-phases %standard-phases
+                (add-after 'build 'build-doc
+                  (lambda* (#:key unpack-path #:allow-other-keys)
+                    (invoke "make" "doc/senpai.1" "doc/senpai.5"
+                            "-C" (string-append "src/" unpack-path))))
+                (add-after 'install 'install-doc
+                  (lambda* (#:key unpack-path #:allow-other-keys)
+                    (let ((man1 (string-append #$output "/share/man/man1"))
+                          (man5 (string-append #$output "/share/man/man5")))
+                      (mkdir-p man1)
+                      (mkdir-p man5)
+                      (install-file
+                        (string-append "src/" unpack-path "/doc/senpai.1")
+                        man1)
+                      (install-file
+                        (string-append "src/" unpack-path "/doc/senpai.5")
+                        man5)))))))
+    (native-inputs (list go-git-sr-ht-emersion-go-scfg
+                         go-github-com-delthas-go-libnp
+                         go-github-com-delthas-go-localeinfo
+                         go-github-com-gdamore-tcell-v2
+                         go-github-com-mattn-go-runewidth
+                         go-golang-org-x-net
+                         go-golang-org-x-term
+                         go-golang-org-x-time
+                         go-mvdan-cc-xurls
+                         scdoc))
+    (home-page "https://sr.ht/~taiite/senpai")
+    (synopsis "Modern terminal IRC client")
+    (description "@code{senpai} is an IRC client that works best with bouncers")
+    (license license:isc)))
+
 ;;; messaging.scm ends here
-- 
2.40.1





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

* bug#64222: [PATCH 0/4] Add senpai IRC client
  2023-06-22 10:52 [bug#64222] [PATCH 0/4] Add senpai IRC client guix-patches--- via
  2023-06-22 10:54 ` [bug#64222] [PATCH 1/4] gnu: go-github-com-godbus-dbus: Update to 5.1.0 guix-patches--- via
@ 2023-10-12 15:12 ` Ludovic Courtès
  2023-10-12 16:16   ` [bug#64222] " guix-patches--- via
  1 sibling, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2023-10-12 15:12 UTC (permalink / raw)
  To: Nguyễn Gia Phong; +Cc: 64222-done

Hi!

Nguyễn Gia Phong <mcsinyx@disroot.org> skribis:

>   gnu: go-github-com-godbus-dbus: Update to 5.1.0
>   gnu: Add go-github-com-delthas-go-libnp
>   gnu: Add go-github-com-delthas-go-localeinfo
>   gnu: Add senpai.

<https://qa.guix.gnu.org/issue/64222> was inconclusive (for some reason
it had not built all the dependents) so I checked locally and the
go-github-com-godbus-dbus upgrade does not introduce new breakage.

I wrapped the long ‘description’ lines, removed ‘Signed-off-by’ tags
from the logs (they’re for committers), and committed.

Thank you and apologies for the delay!

Ludo’.




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

* [bug#64222] [PATCH 0/4] Add senpai IRC client
  2023-10-12 15:12 ` bug#64222: [PATCH 0/4] Add senpai IRC client Ludovic Courtès
@ 2023-10-12 16:16   ` guix-patches--- via
  0 siblings, 0 replies; 7+ messages in thread
From: guix-patches--- via @ 2023-10-12 16:16 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 64222-done

On 2023-10-12 at 17:12+02:00, Ludovic Courtès wrote:
> <https://qa.guix.gnu.org/issue/64222> was inconclusive
> (for some reason it had not built all the dependents)

qa.guix.gnu.org was briefly broken at the time IIRC,
happened to other adjacent patchsets.

On 2023-10-12 at 17:12+02:00, Ludovic Courtès wrote:
> so I checked locally and the go-github-com-godbus-dbus upgrade
> does not introduce new breakage.
>
> I wrapped the long ‘description’ lines, removed ‘Signed-off-by’ tags
> from the logs (they’re for committers), and committed.

Thanks a lot!




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

end of thread, other threads:[~2023-10-12 16:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-22 10:52 [bug#64222] [PATCH 0/4] Add senpai IRC client guix-patches--- via
2023-06-22 10:54 ` [bug#64222] [PATCH 1/4] gnu: go-github-com-godbus-dbus: Update to 5.1.0 guix-patches--- via
2023-06-22 10:54   ` [bug#64222] [PATCH 2/4] gnu: Add go-github-com-delthas-go-libnp guix-patches--- via
2023-06-22 10:54   ` [bug#64222] [PATCH 3/4] gnu: Add go-github-com-delthas-go-localeinfo guix-patches--- via
2023-06-22 10:54   ` [bug#64222] [PATCH 4/4] gnu: Add senpai guix-patches--- via
2023-10-12 15:12 ` bug#64222: [PATCH 0/4] Add senpai IRC client Ludovic Courtès
2023-10-12 16:16   ` [bug#64222] " guix-patches--- via

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