From patchwork Tue Jul 9 13:53:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain GARBAGE X-Patchwork-Id: 29084 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 974A927BBE2; Tue, 9 Jul 2024 15:12:05 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 82DAA27BBE9 for ; Tue, 9 Jul 2024 15:12:02 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRBXi-0001OA-CS; Tue, 09 Jul 2024 10:10:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRBXe-0001Lx-LG for guix-patches@gnu.org; Tue, 09 Jul 2024 10:10:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sRBXe-0006wd-0J for guix-patches@gnu.org; Tue, 09 Jul 2024 10:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sRBXj-0001Be-Dt for guix-patches@gnu.org; Tue, 09 Jul 2024 10:10:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44518] [PATCH v2 08/25] gnu: Add ghc-mattermost-api. Resent-From: Romain GARBAGE Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 09 Jul 2024 14:10:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44518 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 71938@debbugs.gnu.org Cc: rekado@elephly.net, Romain GARBAGE , 44518@debbugs.gnu.org Received: via spool by 44518-submit@debbugs.gnu.org id=B44518.17205341684262 (code B ref 44518); Tue, 09 Jul 2024 14:10:07 +0000 Received: (at 44518) by debbugs.gnu.org; 9 Jul 2024 14:09:28 +0000 Received: from localhost ([127.0.0.1]:53706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRBX6-00016a-Db for submit@debbugs.gnu.org; Tue, 09 Jul 2024 10:09:28 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:43929) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRBWv-00010v-Mq; Tue, 09 Jul 2024 10:09:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ZSgPjnkBFcYUv16lfu9CKLCeftYrDmvXhEHoKrSSscs=; b=F2AhDz5GAlXSfZcSRFeIEIqN8YTa0BRbI4jLczHoFqqH66gR8mewTROp WBgoHHz0ZFCV8hcKaVB10yojZQ4AQNDGFxmxdavweto6N0AOfUEH6VgHD 4qfmP2OVPxQZPiD3ddA9yHt2D+u6YEElECWSjXDv+UqpUgHF/aY6xThQM c=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=romain.garbage@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.09,195,1716242400"; d="scan'208";a="91739204" Received: from lfbn-bay-1-62-70.w83-193.abo.wanadoo.fr (HELO guix-A102.home) ([83.193.153.70]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2024 16:08:36 +0200 From: Romain GARBAGE Date: Tue, 9 Jul 2024 15:53:52 +0200 Message-ID: <20240709140812.6183-9-romain.garbage@inria.fr> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240709140812.6183-1-romain.garbage@inria.fr> References: <20240709140812.6183-1-romain.garbage@inria.fr> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/haskell-web.scm (ghc-mattermost-api): New variable. Change-Id: Idc2a8fb0d8589b38d7e50aa7565fff71dcc6ab28 --- gnu/packages/haskell-web.scm | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 08b2136cb2..8021cbaefc 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -843,6 +843,48 @@ (define-public ghc-css-text Haskell.") (license license:bsd-3))) +(define-public ghc-mattermost-api + (package + (name "ghc-mattermost-api") + (version "90000.0.0") + (source + (origin + (method url-fetch) + (uri (hackage-uri "mattermost-api" version)) + (sha256 + (base32 "1ka3r4bnfwlbjnkws8vkg8i9gj8wzsyss137p7hxrx4sr75s6iyv")))) + (build-system haskell-build-system) + (properties '((upstream-name . "mattermost-api"))) + (inputs (list ghc-websockets + ghc-aeson + ghc-crypton-connection + ghc-memory + ghc-resource-pool + ghc-http + ghc-http-media + ghc-network-uri + ghc-modern-uri + ghc-unordered-containers + ghc-hashable + ghc-gitrev + ghc-microlens + ghc-microlens-th + ghc-pretty-show + ghc-split + ghc-connection)) + (native-inputs (list ghc-tasty ghc-tasty-hunit ghc-hunit)) + (arguments + (list + #:tests? #f)) ;tests fail: unable to setup network socket + (home-page "http://hackage.haskell.org/package/mattermost-api") + (synopsis "Client API for Mattermost chat system") + (description + "Client API for Mattermost chat system. Mattermost is a flexible, open source +messaging platform that meets even the most demanding privacy and security +standards. This library provides network API interaction with the Mattermost +server.") + (license license:bsd-3))) + (define-public ghc-mime-types (package (name "ghc-mime-types")