~whereiseveryone/guixrus

e7a270f76181066b208438931d4c622339dfb7ee — unwox 3 months ago 23a5b9a
Remove senpai package

...as its newer version is already present in Guix repository.
4 files changed, 12 insertions(+), 144 deletions(-)

M guixrus/home/services/senpai.scm
M guixrus/packages/common/go.scm
D guixrus/packages/senpai.scm
M news.txt
M guixrus/home/services/senpai.scm => guixrus/home/services/senpai.scm +3 -3
@@ 1,5 1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2022 unwox <me@unwox.com>
;;; Copyright © 2022, 2024 unwox <me@unwox.com>
;;;
;;; This file is not part of GNU Guix.
;;;


@@ 21,7 21,7 @@
  #:use-module (gnu services configuration)
  #:use-module (guix gexp)
  #:use-module (guix packages)
  #:use-module ((guixrus packages senpai) #:prefix rus:)
  #:use-module (guix packages messaging)

  #:export (home-senpai-service-type
            home-senpai-configuration


@@ 113,7 113,7 @@ positive (opposite) width value when toggled with F8."))

(define-configuration home-senpai-configuration
  (senpai
   (package rus:senpai)
   (package senpai)
   "The @code{senpai} package to use."
   empty-serializer)
  (address

M guixrus/packages/common/go.scm => guixrus/packages/common/go.scm +0 -56
@@ 2319,62 2319,6 @@ set a value in a json document.")
"@code{go-maunium-net-go-mautrix} is a Golang Matrix framework.")
    (license license:mpl2.0)))

(define-public go-mvdan-cc-xurls
  (package
    (name "go-mvdan-cc-xurls")
    (version "2.4.0")
    (source
      (origin
        (method git-fetch)
        (uri (git-reference
               (url "https://github.com/mvdan/xurls")
               (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
          (base32 "0b040nbk1vwlk1qljavh8w8fn2r243q700n6gr8j2asmnz0xq84p"))))
    (build-system go-build-system)
    (arguments
      '(#:import-path "mvdan.cc/xurls/v2" #:unpack-path "mvdan.cc/xurls/v2"))
    (propagated-inputs
      (list go-golang-org-x-sync go-github-com-rogpeppe-go-internal))
    (home-page "https://mvdan.cc/xurls/v2")
    (synopsis "xurls")
    (description
      "Package xurls extracts urls from plain text using regular expressions.")
    (license license:bsd-3)))

(define-public go-github-com-delthas-tcell
  (let ((commit "8fc0c2be8f7d03abf14267e593bd2d104d4538b6")
        (revision "0"))
    (package
      (name "go-github-com-delthas-tcell")
      (version "v2.4.1-0.20220223131437-2362f49a2b6c")
      (source
        (origin
          (method git-fetch)
          (uri (git-reference
                 (url "https://github.com/delthas/tcell")
                 (commit (go-version->git-ref version))))
          (file-name (git-file-name name version))
          (sha256
            (base32 "04mai0gicllhjqv7p0i29cdf9myzl8q5h672bdhmid7lv3x1k32f"))))
      (build-system go-build-system)
      (arguments
        '(#:import-path "github.com/gdamore/tcell/v2"))
      (propagated-inputs
        (list go-github-com-gdamore-encoding
              go-github-com-lucasb-eyer-go-colorful
              go-github-com-mattn-go-runewidth
              go-golang-org-x-sys
              go-golang-org-x-term
              go-golang-org-x-text))
      (home-page "https://github.com/delthas/tcell")
      (synopsis "Provide a cell-based view for text terminals")
      (description "This package includes a full parser and expander for terminfo
capability strings to avoid hard-coding escape strings for formatting.  It favors
portability, and includes support for all POSIX systems.")
      (license license:asl2.0))))

(define-public go-github-com-axgle-mahonia
  (package
    (name "go-github-com-axgle-mahonia")

D guixrus/packages/senpai.scm => guixrus/packages/senpai.scm +0 -82
@@ 1,82 0,0 @@
;;; GNU Guix --- Functional package management for GNU
;;;
;;; Copyright © 2022, 2023 jgart <jgart@dismail.de>
;;; Copyright © 2022 Dhruvin Gandhi <contact@dhruvin.dev>
;;; Copyright © 2022 (unmatched parenthesis <paren@disroot.org>
;;; Copyright © 2023, 2024 unwox <me@unwox.com>
;;;
;;; This file is not part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (guixrus packages senpai)
  #:use-module (gnu packages golang)
  #:use-module (gnu packages golang-build)
  #:use-module (gnu packages golang-xyz)
  #:use-module (gnu packages man)
  #:use-module ((guixrus packages common go) #:prefix rus:)
  #:use-module (guix build-system go)
  #:use-module (guix git-download)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module ((guixrus contributors) #:prefix contributor:))

(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
      '(#:import-path "git.sr.ht/~taiite/senpai"
        #:install-source? #f
        #:phases
        (modify-phases %standard-phases
          (replace 'build
            (lambda _
              (invoke "make" "-C" "src/git.sr.ht/~taiite/senpai")))
          (add-after 'build 'build-docs
            (lambda _
              (with-directory-excursion "src/git.sr.ht/~taiite/senpai"
                (invoke "sh" "-c" "scdoc < doc/senpai.1.scd > doc/senpai.1")
                (invoke "sh" "-c" "scdoc < doc/senpai.5.scd > doc/senpai.5"))))
          (replace 'install
            (lambda* (#:key outputs #:allow-other-keys)
              (let ((out (assoc-ref outputs "out")))
                (invoke "make" "install" "-C" "src/git.sr.ht/~taiite/senpai"
                        (string-append "PREFIX=" out))))))))
    (native-inputs (list scdoc))
    (inputs
      (list 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
            rus:go-github-com-delthas-tcell
            rus:go-mvdan-cc-xurls))
    (home-page "https://git.sr.ht/~taiite/senpai")
    (synopsis "An 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 from
the server via @code{bouncer-networks}.")
    (license license:isc)
    (properties `((maintainers . (,contributor:unmatched-paren))))))

M news.txt => news.txt +9 -3
@@ 1,6 1,7 @@
;; Guix 'R Us news
;;
;; Copyright © 2022 jgart <jgart@dismail.de
;; Copyright © 2022 jgart <jgart@dismail.de>
;; Copyright © 2024 unwox <me@unwox.com>
;;
;; Copying and distribution of this file, with or without modification, are
;; permitted in any medium without royalty provided the copyright notice and


@@ 10,5 11,10 @@
  (version 0)
  (entry (commit "ae85d75ceb3c257551d759db331a1947cc619c48")
         (title (en "guix provides"))
         (body (en "Guix R Us now has the new guix provides command."))))

         (body (en "Guix R Us now has the new guix provides command.")))
  (entry (commit "6d212bde72078a519b8ec391a3a5ed41ab5f5c6a")
         (title (en "senpai package removed"))
         (body (en "senpai package is removed from the channel since its newer
version is already available in Guix repository.  Please add
(guix packages messaging) module to your configuration files and remove
(guixrus packages senpai)."))))