all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "\( via Guix-patches" via <guix-patches@gnu.org>
To: 56961@debbugs.gnu.org
Cc: "\(" <paren@disroot.org>
Subject: [bug#56961] [PATCH v2 3/4] gnu: packages: Add senpai.
Date: Mon, 10 Oct 2022 17:57:08 +0100	[thread overview]
Message-ID: <20221010165709.22638-3-paren@disroot.org> (raw)
In-Reply-To: <20221010165709.22638-1-paren@disroot.org>

* gnu/packages/irc.scm (senpai): New variable.
---
 gnu/packages/irc.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index b82210081c..b64932310b 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -12,6 +12,7 @@
 ;;; Copyright © 2020 Brett Gilio <brettg@gnu.org>
 ;;; Copyright © 2021 WinterHound <winterhound@yandex.com>
 ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
+;;; Copyright © 2022 ( <paren@disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -38,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)
@@ -61,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)
@@ -688,3 +692,47 @@ (define-public inspircd
 server written in C++ for Unix-like operating systems.")
     (home-page "https://www.inspircd.org/")
     (license license:gpl2)))
+
+(define-public senpai
+  (package
+    (name "senpai")
+    (version "0.1.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
+                "1g3fpchjl859xl529wwdx8l0m88ji813mphmh316shdkm09ff160"))))
+    (build-system go-build-system)
+    (arguments
+     (list #:import-path "git.sr.ht/~taiite/senpai"
+           #:install-source? #f
+           #:phases
+           #~(modify-phases %standard-phases
+               (replace 'build
+                 (lambda* (#:key import-path #:allow-other-keys)
+                   (invoke "make" "-C" (string-append "src/" import-path))))
+               (replace 'install
+                 (lambda* (#:key import-path #:allow-other-keys)
+                   (invoke "make" "install" "-C"
+                           (string-append "src/" import-path)
+                           (string-append "PREFIX=" #$output)))))))
+    (native-inputs (list scdoc))
+    (propagated-inputs
+     (list go-github-com-delthas-tcell
+           go-mvdan-cc-xurls
+           go-golang-org-x-time
+           go-golang-org-x-term
+           go-golang-org-x-net
+           go-github-com-mattn-go-runewidth
+           go-git-sr-ht-emersion-go-scfg))
+    (home-page "https://git.sr.ht/~taiite/senpai")
+    (synopsis "IRC client that works best with bouncers")
+    (description
+     "@code{senpai} is an IRC client that works best with bouncers.  No logs
+are kept, history is fetched from the server via @code{CHATHISTORY}, and
+networks are fetched via @code{bouncer-networks}.")
+    (license license:isc)))
-- 
2.38.0





  parent reply	other threads:[~2022-10-10 17:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-03 21:16 [bug#56961] [PATCHSET] Add senpai ( via Guix-patches via
2022-08-03 21:18 ` [bug#56961] [PATCH 1/6] gnu: packages: Add go-github-com-lucasb-eyer-go-colorful ( via Guix-patches via
2022-08-03 21:18   ` [bug#56961] [PATCH 2/6] gnu: packages: Add go-github-com-delthas-tcell ( via Guix-patches via
2022-08-03 21:18   ` [bug#56961] [PATCH 3/6] gnu: packages: Add go-mvdan-cc-xurls ( via Guix-patches via
2022-08-03 21:18   ` [bug#56961] [PATCH 4/6] gnu: packages: Add go-github-com-google-shlex ( via Guix-patches via
2022-08-03 21:18   ` [bug#56961] [PATCH 5/6] gnu: packages: Add go-git-sr-ht--emersion-go-scfg ( via Guix-patches via
2022-08-03 21:18   ` [bug#56961] [PATCH 6/6] gnu: packages: Add senpai ( via Guix-patches via
2022-10-10 16:57 ` [bug#56961] [PATCH v2 1/4] gnu: packages: Add go-github-com-delthas-tcell ( via Guix-patches via
2022-10-10 16:57   ` [bug#56961] [PATCH v2 2/4] gnu: packages: Add go-mvdan-cc-xurls ( via Guix-patches via
2022-10-10 16:57   ` ( via Guix-patches via [this message]
2022-10-10 16:57   ` [bug#56961] [PATCH v2 4/4] gnu: Add home-senpai-service-type ( via Guix-patches via
2023-07-25 17:29 ` [bug#56961] [PATCHSET] Add senpai guix-patches--- via
2024-03-19 22:29 ` bug#56961: " Sharlatan Hellseher

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=20221010165709.22638-3-paren@disroot.org \
    --to=guix-patches@gnu.org \
    --cc=56961@debbugs.gnu.org \
    --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.