all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 60685@debbugs.gnu.org
Cc: "\(" <paren@disroot.org>, jgart <jgart@dismail.de>
Subject: [bug#60685] [PATCH 1/2] gnu: Add go-gopkg-in-irc-v3.
Date: Sun,  8 Jan 2023 19:11:07 -0600	[thread overview]
Message-ID: <20230109011108.22431-1-jgart@dismail.de> (raw)
In-Reply-To: <fd379b8ca8de5960ce21a89e178726a9@dismail.de>

* gnu/packages/irc.scm (go-gopkg-in-irc-v3): New variable.

Co-authored-by: ( <paren@disroot.org>
---
 gnu/packages/irc.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index c6154fd9cf..9740d91fa7 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -39,6 +39,7 @@ (define-module (gnu packages irc)
   #:use-module (guix utils)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system go)
   #:use-module (guix build-system meson)
   #:use-module (guix build-system python)
   #:use-module (guix build-system qt)
@@ -62,10 +63,12 @@ (define-module (gnu packages irc)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
+  #:use-module (gnu packages golang)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages lxqt)
+  #:use-module (gnu packages man)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages openldap)
   #:use-module (gnu packages kde)
@@ -587,6 +590,33 @@ (define-public epic5
                    ;; distribute binaries.
                    (license:non-copyleft "http://epicsol.org/copyright")))))
 
+(define-public go-gopkg-in-irc-v3
+  (package
+    (name "go-gopkg-in-irc-v3")
+    (version "3.1.4")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://gopkg.in/irc.v3")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+          (base32 "0f2vv947yf9ygy8ylwqkd9yshybfdsbsp9pffjyvm7l7rnq5da60"))))
+    (build-system go-build-system)
+    (arguments
+      '(;; https://paste.sr.ht/~whereiseveryone/784d068887a65c1b869caa7d7c2077d28a2b2187
+        #:tests? #f
+        #:import-path "gopkg.in/irc.v3" #:unpack-path "gopkg.in/irc.v3"))
+    (propagated-inputs
+      `(("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)
+        ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+    (home-page "https://gopkg.in/irc.v3")
+    (synopsis "Low-level IRC library for Go")
+    (description "Package irc provides a simple IRC library meant as a building
+block for other projects.")
+    (license license:expat)))
+
 (define-public litterbox
   (package
     (name "litterbox")
-- 
2.38.1





  reply	other threads:[~2023-01-09  1:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-09  1:09 [bug#60685] [PATCH 1/2] gnu: Add chathistorysync jgart via Guix-patches via
2023-01-09  1:11 ` jgart via Guix-patches via [this message]
2023-01-09  1:11   ` [bug#60685] [PATCH 2/2] " jgart via Guix-patches via
2023-02-17 15:53 ` [bug#60685] [PATCH 1/2] " Christopher Baines

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

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

  git send-email \
    --in-reply-to=20230109011108.22431-1-jgart@dismail.de \
    --to=guix-patches@gnu.org \
    --cc=60685@debbugs.gnu.org \
    --cc=jgart@dismail.de \
    --cc=paren@disroot.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.