[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
42/45: gnu: Add chathistorysync.
From: |
guix-commits |
Subject: |
42/45: gnu: Add chathistorysync. |
Date: |
Fri, 17 Feb 2023 10:49:44 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit a558998f7dabb2c0672abe3aaac89fb9b652cbb1
Author: jgart <jgart@dismail.de>
AuthorDate: Sun Jan 8 19:11:08 2023 -0600
gnu: Add chathistorysync.
* gnu/packages/irc.scm (chathistorysync): New variable.
Co-authored-by: ( <paren@disroot.org>
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/irc.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index 1b2af63383..4bce2d2d47 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -615,6 +615,51 @@ interface for those who are accustomed to the ircII way of
doing things.")
building block for other projects.")
(license license:expat)))
+(define-public chathistorysync
+ (package
+ (name "chathistorysync")
+ (version "0.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.sr.ht/~emersion/chathistorysync")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "03dxr178wnicggx0k95wvyzgyk4s4g0adbi2z0md517a5qd1lh23"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "git.sr.ht/~emersion/chathistorysync"
+ #:install-source? #f ; chathistorysync is an end-user application.
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'build 'doc
+ (lambda _
+ (with-directory-excursion
+ "src/git.sr.ht/~emersion/chathistorysync"
+ (invoke "sh" "-c"
+ "scdoc <chathistorysync.1.scd
>chathistorysync.1"))))
+ (add-after 'install 'install-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out")))
+ (with-directory-excursion
+ "src/git.sr.ht/~emersion/chathistorysync"
+ (install-file
+ "chathistorysync.1"
+ (string-append out "/share/man/man1")))))))))
+ (inputs
+ (list go-golang-org-x-sys
+ go-golang-org-x-term
+ go-golang-org-x-crypto
+ go-gopkg-in-irc-v3))
+ (native-inputs (list scdoc))
+ (home-page "https://git.sr.ht/~emersion/chathistorysync")
+ (synopsis "Synchronization tool for IRC chat history")
+ (description
+ "This package provides a synchronization tool for IRC chat history.")
+ (license license:agpl3)))
+
(define-public litterbox
(package
(name "litterbox")
- 28/45: gnu: Add ocaml-textutils., (continued)
- 28/45: gnu: Add ocaml-textutils., guix-commits, 2023/02/17
- 26/45: gnu: Add ocaml-async-unix., guix-commits, 2023/02/17
- 23/45: gnu: Add ocaml-intrinsics., guix-commits, 2023/02/17
- 16/45: gnu: Add ocaml-mirage-profile-unix., guix-commits, 2023/02/17
- 08/45: gnu: Add ocaml-mirage-runtime., guix-commits, 2023/02/17
- 33/45: gnu: Add ocaml-shared-memory-ring-lwt., guix-commits, 2023/02/17
- 38/45: gnu: Add ocaml-parse-argv., guix-commits, 2023/02/17
- 43/45: gnu: Add python-virtualenv-clone., guix-commits, 2023/02/17
- 06/45: gnu: Add ocaml-emile., guix-commits, 2023/02/17
- 09/45: gnu: Add ocaml-functoria., guix-commits, 2023/02/17
- 42/45: gnu: Add chathistorysync.,
guix-commits <=
- 45/45: gnu: Add clipman., guix-commits, 2023/02/17
- 01/45: gnu: Add ocaml-domain-name., guix-commits, 2023/02/17
- 25/45: gnu: Add ocaml-async-kernel., guix-commits, 2023/02/17
- 36/45: gnu: Add ocaml-bheap., guix-commits, 2023/02/17
- 37/45: gnu: Add ocaml-mirage-xen., guix-commits, 2023/02/17
- 40/45: gnu: p11-kit-next: Switch to meson-build-system., guix-commits, 2023/02/17
- 13/45: gnu: Add ocaml-mirage-time., guix-commits, 2023/02/17
- 19/45: gnu: Add ocaml-ptime., guix-commits, 2023/02/17
- 20/45: gnu: Add ocaml-mirage-logs., guix-commits, 2023/02/17
- 12/45: gnu: Add ocaml-mirage-unix., guix-commits, 2023/02/17