From: Romain GARBAGE <romain.garbage@inria.fr>
To: 71938@debbugs.gnu.org
Cc: rekado@elephly.net, Romain GARBAGE <romain.garbage@inria.fr>,
44518@debbugs.gnu.org
Subject: [bug#44518] [PATCH v2 25/25] gnu: Add matterhorn.
Date: Tue, 9 Jul 2024 15:54:09 +0200 [thread overview]
Message-ID: <20240709140812.6183-26-romain.garbage@inria.fr> (raw)
In-Reply-To: <20240709140812.6183-1-romain.garbage@inria.fr>
* gnu/packages/haskell-apps.scm (matterhorn): New variable.
Change-Id: I8f83b39fdc5f94251239129814068000fb492336
---
gnu/packages/haskell-apps.scm | 92 +++++++++++++++++++++++++++++++++++
1 file changed, 92 insertions(+)
diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm
index 3fce4f803c..2fcb1a8c56 100644
--- a/gnu/packages/haskell-apps.scm
+++ b/gnu/packages/haskell-apps.scm
@@ -37,6 +37,7 @@
(define-module (gnu packages haskell-apps)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix packages)
#:use-module ((guix licenses) #:prefix license:)
@@ -682,6 +683,97 @@ (define-public kmonad
Wayland, and Linux console environments alike.")
(license license:expat))))
+(define-public matterhorn
+ (package
+ (name "matterhorn")
+ (version "90000.0.0")
+ (source
+ (origin
+ ;; use git repo instead of hackage URL because the hackage tarball
+ ;; doesn't contain the sample config file
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/matterhorn-chat/matterhorn")
+ (commit version)))
+ (sha256
+ (base32 "08ng5axranilvfl9j3v0mjgpg76kzacrqj4c8x6pblpc3yxx02i5"))))
+ (build-system haskell-build-system)
+ (properties '((upstream-name . "matterhorn")))
+ (inputs (list ghc-aeson
+ ghc-aspell-pipe
+ ghc-async
+ ghc-base-compat
+ ghc-bimap
+ ghc-brick
+ ghc-brick-skylighting
+ ghc-commonmark
+ ghc-commonmark-extensions
+ ghc-config-ini
+ ghc-crypton-connection
+ ghc-data-clist
+ ghc-gitrev
+ ghc-hashable
+ ghc-hclip
+ ghc-mattermost-api
+ ghc-microlens-platform
+ ghc-network-uri
+ ghc-random
+ ghc-semigroups
+ ghc-skylighting-core
+ ghc-split
+ ghc-stm-delay
+ ghc-strict
+ ghc-temporary
+ ghc-text-zipper
+ ghc-timezone-olson
+ ghc-timezone-series
+ ghc-unix-compat-7
+ ghc-unordered-containers
+ ghc-utf8-string
+ ghc-uuid
+ ghc-vector
+ ghc-vty-6
+ ghc-vty-crossplatform
+ ghc-word-wrap
+ ghc-xdg-basedir))
+ (native-inputs (list ghc-checkers
+ ghc-mattermost-api-qc
+ ghc-tasty
+ ghc-tasty-hunit
+ ghc-tasty-quickcheck
+ ghc-unique))
+ (arguments
+ (list
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-requirements
+ (lambda _
+ (for-each (lambda (dep)
+ (substitute* "matterhorn.cabal"
+ (((string-append "(,\\s" dep
+ "\\s*>=\\s[0-9].[0-9]).*")
+ all pat)
+ pat)))
+ (list "random"
+ "data-clist"
+ "semigroups"
+ "word-wrap"
+ "unix-compat"
+ "skylighting-core"
+ "checkers"
+ "vty"
+ "vty-crossplatform"
+ "brick"))))
+ (add-after 'install 'install-config-file
+ (lambda _
+ (install-file "./docs/sample-config.ini"
+ (string-append #$output "/share/doc/" #$name "-" #$version "/etc/")))))))
+ (home-page "http://hackage.haskell.org/package/matterhorn")
+ (synopsis "Terminal client for the Mattermost chat system")
+ (description
+ "This is a terminal client for the Mattermost chat system. Please see the README
+for a list of features and information on getting started.")
+ (license license:bsd-3)))
+
(define-public nixfmt
(package
(name "nixfmt")
--
2.45.1
prev parent reply other threads:[~2024-07-09 14:33 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-04 10:36 [bug#71938] [PATCH] gnu: Add matterhorn Romain GARBAGE
2024-07-06 23:07 ` Ricardo Wurmus
2024-07-09 9:02 ` [bug#44518] " Romain GARBAGE
2024-07-09 13:53 ` [bug#71938] [PATCH v2 00/25] Add matterhorn package Romain GARBAGE
2024-07-09 13:53 ` [bug#44518] [PATCH v2 01/25] gnu: Add ghc-crypton Romain GARBAGE
2024-07-09 13:53 ` [bug#44518] [PATCH v2 02/25] gnu: Add ghc-crypton-x509 Romain GARBAGE
2024-07-09 13:53 ` [bug#71938] " Romain GARBAGE
2024-07-09 13:53 ` [bug#71938] [PATCH v2 03/25] gnu: Add ghc-crypton-x509-store Romain GARBAGE
2024-07-09 13:53 ` [bug#44518] [PATCH v2 04/25] gnu: Add ghc-crypton-x509-system Romain GARBAGE
2024-07-09 13:53 ` [bug#44518] [PATCH v2 05/25] gnu: Add ghc-crypton-x509-validation Romain GARBAGE
2024-07-09 13:53 ` [bug#44518] [PATCH v2 06/25] gnu: Add ghc-tls-1.9 Romain GARBAGE
2024-07-09 13:53 ` [bug#44518] [PATCH v2 07/25] gnu: Add ghc-crypton-connection Romain GARBAGE
2024-07-09 13:53 ` [bug#44518] [PATCH v2 08/25] gnu: Add ghc-mattermost-api Romain GARBAGE
2024-07-09 13:53 ` [bug#71938] [PATCH v2 09/25] gnu: Add ghc-mattermost-api-qc Romain GARBAGE
2024-07-09 13:53 ` [bug#44518] [PATCH v2 10/25] gnu: Add ghc-modern-uri Romain GARBAGE
2024-07-09 13:53 ` [bug#44518] [PATCH v2 11/25] gnu: Add ghc-aspell-pipe Romain GARBAGE
2024-07-09 13:53 ` [bug#71938] [PATCH v2 12/25] gnu: Add ghc-bimap Romain GARBAGE
2024-07-09 13:53 ` [bug#44518] [PATCH v2 13/25] gnu: Add ghc-checkers Romain GARBAGE
2024-07-09 13:53 ` [bug#44518] [PATCH v2 14/25] gnu: Add ghc-monad-parallel Romain GARBAGE
2024-07-09 13:53 ` [bug#44518] [PATCH v2 15/25] gnu: ghc-text-zipper: Update to 0.13 Romain GARBAGE
2024-07-09 13:54 ` [bug#44518] [PATCH v2 16/25] gnu: Add ghc-stm-delay Romain GARBAGE
2024-07-09 13:54 ` [bug#71938] [PATCH v2 17/25] gnu: Add ghc-unique Romain GARBAGE
2024-07-09 13:54 ` [bug#44518] " Romain GARBAGE
2024-07-09 13:54 ` [bug#44518] [PATCH v2 18/25] gnu: Add ghc-unix-compat-7 Romain GARBAGE
2024-07-09 13:54 ` [bug#71938] [PATCH v2 19/25] gnu: Add ghc-vty-crossplatform Romain GARBAGE
2024-07-09 13:54 ` [bug#71938] [PATCH v2 20/25] gnu: Add ghc-vty-unix Romain GARBAGE
2024-07-09 13:54 ` [bug#44518] [PATCH v2 21/25] gnu: Add ghc-vty-6 Romain GARBAGE
2024-07-09 13:54 ` [bug#44518] [PATCH v2 22/25] gnu: Add ghc-hclip Romain GARBAGE
2024-07-09 13:54 ` [bug#71938] [PATCH v2 23/25] gnu: Add ghc-brick Romain GARBAGE
2024-07-09 13:54 ` [bug#71938] [PATCH v2 24/25] gnu: Add ghc-brick-skylighting Romain GARBAGE
2024-07-09 13:54 ` Romain GARBAGE [this message]
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=20240709140812.6183-26-romain.garbage@inria.fr \
--to=romain.garbage@inria.fr \
--cc=44518@debbugs.gnu.org \
--cc=71938@debbugs.gnu.org \
--cc=rekado@elephly.net \
/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.